/* ORDER DETAILS */
/* Check Order */
.input-container {
    display: flex;
    align-items: center;
}

.input-container span {
    padding: 3.5px;
    border: 1px solid #ccc;
    /* İsteğe bağlı: kenarlık */

}

.input-container input {
    border: 1px solid #ccc;
    /* İsteğe bağlı: kenarlık */
    border-left: none;
    padding: 5px;
    outline: none;
    flex: 1;
}

.orderMainContainer {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    gap: 3rem;
    margin: auto;
}

.orderflexrow {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.orderflexColumn {
    display: flex;
    flex-direction: column;
}

.titleColumn {
    margin-bottom: 2rem;
}

.orderP {
    margin-left: 0.4rem;
}

.orderTitle {
    background-color: #d1d1d1;
    border-bottom: none;
    margin: 0;
    padding: 0.4rem;
}

.item {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.item a {
    max-width: 50%;
    flex: 1;
}

.item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.itemInfo {
    flex: 1;
}

.totalgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    justify-items: center;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 3rem;

}

.links a {
    display: inline-block;
    width: 80%;
    padding: 1rem;
    background-color: var(--pink1);
}

.main-container {
    display: flex;
    flex-direction: column;
}

.left {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-left: 1rem;
}

.right video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    clip-path: inset(2px 2px);
}

/* ORDERS PAGE */
.order-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-items: start;
    align-items: start;
    width: 100%;
    background-color: var(--pink1);
    overflow: hidden;
}

.orderInfo {
    padding-left: 1rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 1rem;
    font-weight: 700;
}

.orderCode {
    font-size: 0.8rem;
    font-weight: 400;
}

.order-images {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    margin-left: 1rem;
    gap: 1rem;
    padding: 1rem;
    padding-left: 0;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
}

.order-images img {
    max-width: 150px;
    max-height: 150px;
}

.right {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.right video {
    justify-content: center;
}

/* addresses */
.main-address {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.address>a>img,
.address>a {
    width: 2rem;
    height: 2rem;
    align-self: top;
}

.main-address>a {
    display: flex;
    align-items: center;
    min-width: 20%;
    max-width: 40%;
    gap: 10px;
    background-color: var(--pink1);
    padding: 5px 10px;
}

.addressChoices {
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.deleteButton {
    background-color: transparent;
    font-family: "integralCF";
    border: none;
    font-size: 1rem;
    padding: 0;
}

.addressChoices>a>img,
.main-address>a>img {
    max-width: 32px;
}

.address-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.address-info>h4 {
    font-family: Arial, Helvetica, sans-serif;
}

.address-info>p {
    font-size: 12px;
    font-weight: 600;
}

.address {
    background-color: var(--pink1);
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2rem;
}

/* Collection cards */
.card-container {
    display: flex;
    gap: 3rem;
    justify-items: center;
    flex-direction: column;
}

.card,
.cardlink {
    width: 100%;
    height: 30vh;
    background-color: grey;
    border-radius: 1rem;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    color: white;
    position: relative;
}

.cardinfo {
    display: flex;
    flex-direction: column;
    position: absolute;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 10px;
    gap: 4px;
    font-family: "Archivo";
}

/* Account Settings */
#ch {
    text-align: center;
}

form {
    display: grid;
    gap: 1rem;
    grid-template-columns: 100px 200px;
}

form>a {
    grid-column: 1 / 3;
    text-decoration: none;
}

form input {
    border: none;
    border-bottom: 1px solid var(--pink1);
    background-color: var(--white1);
}

form>button {
    grid-column: 1 / 3;
    background-color: var(--pink2);
    border: none;
    padding: 0.5rem;
}

.changeverify {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

#change-btn,
#verify-btn {
    background-color: var(--pink1);
    border: none;
    padding: 0.5rem;
}

#verify-btn {
    background-color: var(--emph);
}

.successTrue,
.successFalse {
    display: inline-block;
    max-width: fit-content;
    padding: 1rem;
    color: var(--blackdark);
}

.successTrue {
    background-color: var(--successTrue);
}

.successFalse {
    background-color: var(--successFalse);
}

/* Favorites */


.head {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
}

.head>img {
    max-width: 32px;
}

.item-container {
    position: relative;
}

.delfav {
    position: absolute;
    top: 10;
    right: 10;
}

/* ADD ADDRESS */
.add-address {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

}

#textare {
    display: inline-block;
    grid-column: 1 / 3;
}

#textare:focus,
input:focus,
option:focus {
    outline: none;
}

label {
    font-weight: 900;
}

#detailText {
    grid-column: 1 / 3;
}

#new-address {
    margin-bottom: 1rem;
}

.info {
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.left i {
    background-color: var(--pink1);
    padding: 0 0.4rem;
}

#onlytr {
    background-color: var(--pink1);
    border: 1px solid var(--pink1);
}

/* ticket page */

.event-card {
    margin-bottom: 24px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
  }

  .clickable-area {
    cursor: pointer;
    position: relative;
    border-radius: 1rem;
  }

  .event-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
  }

  /* Event header altına banner */
  .event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #222;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    user-select: none;
  }

  .event-name {
    flex-grow: 1;
  }

  .toggle-icon {
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
    margin-left: 12px;
  }

  .ticket-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px; /* Yatay padding sabit */
    background-color: #fff;
  }
  
  .ticket-list.show {
    max-height: 2000px; /* Yeterince büyük bir değer ver */
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .ticket-item {
    margin-bottom: 32px;
    text-align: center;
  }

  .qr-container canvas {
    width: 200px;
    height: 200px;
    margin-bottom: 12px;
  }

  .ticket-info {
    font-size: 1rem;
    color: #333;
  }

/* Media Queries */

/*TABLET*/
@media screen and (min-width:745px) {
    .links a {
        width: 90%;
    }

    .main-container {
        flex-direction: row;
    }

    .right img {
        max-width: 50vw;
    }

    .rp video {
        max-width: 50vw;
        min-width: 680px;
    }

    .orderMainContainer {
        width: 50vw;
    }

}



/*COMP*/
@media screen and (min-width:992px) {
    .links a {
        min-width: 50%;
    }

    .item a {
        max-width: 10%;
    }

    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .event-card{
        align-self: center;
        width: 50vw;
    }

}