/*** Event Registration Form Styles ***/

.tcc-form .tcc-field {
    position: relative;
    margin-bottom: 2.5rem;
}

.tcc-form .tcc-field > input:not([type="radio"]),
.tcc-form .tcc-field > textarea,
.tcc-form .tcc-field > select {
    background: var(--brand-color-black);
    color: var(--brand-color-white);
    width: 100%;
}

.tcc-form .tcc-field > label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 0 1rem;
    z-index: 1;
    color: var(--brand-color-white);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.35s ease;
}

.tcc-form .tcc-field:focus-within label,
.tcc-form .tcc-field input:not(:placeholder-shown) + label,
.tcc-form .tcc-field textarea:not(:placeholder-shown) + label,
.tcc-form label[for="guest_company_pricing"],
.tcc-form label[for="company_pricing"] {
    transition: all 0.35s ease;
    top: -9px;
    padding: 0 1rem;
    background: var(--brand-color-gold-dust);
    color: var(--brand-color-black);
    border-radius: 0.25rem 0.25rem 0px 0px;
    font-size: 13px;
}

.tcc-form label[for="subscription-installments"],
.tcc-form label[for="subscription-monthly"],
.tcc-form label[for="subscription-upfront"] {
    height: 100%;
}

.tcc-form .tcc-field input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
}

.tcc-profile-picture-container label {
    position: relative;
}
.tcc-profile-picture-container label::after {
    content: 'Max size of 2mb';
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 12px;
    color: var(--brand-color-ivory);
    transform: translateY(120%);
}

/* Profile Picture */

.tcc-profile-picture-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.tcc-profile-picture-container img {
    width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% top;
    border-radius: 100px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 1.5rem;
    border: 2px solid var(--brand-color-gold);
}

.tcc-file-upload::file-selector-button {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tcc-file-upload-label {
    padding: 0.25rem 0.75rem;
    font-size: 16px;
}

/* Price Cards */

/* Hide the actual radio circle */
.tcc-field-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Container layout */
.tcc-row-payment {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 1024px) {
    .tcc-row-payment {
        grid-template-columns: 1fr;
    }
}

/* Base card styling */
.tcc-field-card {
    flex: 1;
    min-width: 140px;
    position: relative;
}


/* Style the label as the card */
.tcc-field-card label {
    display: block;
    cursor: pointer;
    padding: 1.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--brand-color-white);
    border-radius: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover State */
.tcc-field-card label:hover {
    border-color: var(--brand-color-gold);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.03);
}

/* Selected State (Checked) */
.tcc-field-card label:has(input:checked) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand-color-gold);
    border-color: var(--brand-color-gold);
    box-shadow: 0px 0px 15px 1px #d3bc8eb8;
    transform: translateY(-15px) scale(1.03);
}

.tcc-field-card .subscription-type {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--brand-color-platinum);
}

.tcc-field-card .price {
    font-size: 40px;
}

.tcc-field-card .term {
    font-size: 14px;
    color: grey;
}

.tcc-field-card .description {
    display: block;
    font-size: 16px;
    color: var(--brand-color-platinum);
    margin-top: 1rem;
}

/* Extras */

.text-style-montserrat-4 {
    margin-bottom: 2rem;
}

.button-primary {
    width: 100%;
}

.tcc-notification {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 16px;
    padding: 1rem 4rem;
    margin-bottom: 4rem;
    color: var(--brand-color-white);
    font-style: italic;
}

.tcc-notification p {
    margin-bottom: 0px;
}

.tcc-notification img {
    max-width: 75px;
}