/* GEMA Awards - Registration Page Styles */

body {
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding-top: 20px;
    text-align: center;
    height: 140px;
}

.header img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

/* Main Container */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 2px;
}

/* Logo */
.logo-container {
    margin-bottom: 15px;
    margin-top: 0px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img {
    max-width: 160px;
    width: 12%;
    min-width: 120px;
    height: auto;
}

/* Page Title */
.page-title {
    font-family: 'Morion', sans-serif;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 30px;
    color: var(--color-black);
    text-align: center;
}

/* Form Container */
.form-container {
    width: 100%;
    max-width: 730px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
}

.input-group.full-width {
    grid-column: 1 / 2;
}

/* Info Icon for Tax ID */
.input-group.with-info {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group.with-info .input-field {
    flex: 1;
    padding-right: 45px;
}

.info-tooltip-wrapper {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.info-icon {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.info-icon:hover {
    opacity: 0.8;
}

/* Tooltip Styling */
.tooltip-text {
    visibility: hidden;
    width: 280px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 12px;
    border-radius: 4px;
    position: absolute;
    z-index: 1001;
    bottom: 125%;
    left: 50%;
    margin-left: -140px;
    font-size: 10px;
    line-height: 1.4;
    white-space: normal;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Tooltip Arrow */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.info-tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0 25px;
    font-size: 12px;
    color: var(--color-gray-text);
    font-style: italic;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.terms-checkbox label {
    cursor: pointer;
}

.terms-checkbox a {
    color: var(--color-gray-text);
    text-decoration: underline;
}

.terms-checkbox a:hover {
    color: var(--color-blue-link);
}

/* Buttons */
.register-btn {
    width: 50%;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.login-btn {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Divider */
.divider {
    text-align: center;
    margin: 30px 0 20px;
    font-size: 13px;
    color: var(--color-black);
    letter-spacing: 1px;
}

/* Phone Group with Country Code */
.input-group.phone-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.input-group.phone-group .country-code-dropdown {
    min-width: 150px;
    max-width: 200px;
    flex: 0 0 auto;
}

.input-group.phone-group .phone-input {
    flex: 1;
    min-width: 110px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        height: 100px;
    }

    .header img {
        max-height: 80px;
    }

    .logo-container {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .logo-container img {
        max-width: 130px;
        min-width: 100px;
    }

    .page-title {
        font-size: 22px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }

    .container {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .input-group.full-width {
        grid-column: 1;
    }

    .input-group.with-info .input-field {
        padding-right: 45px;
    }

    .info-tooltip-wrapper {
        right: 12px;
    }

    .tooltip-text {
        bottom: auto;
        top: 125%;
        width: 250px;
        margin-left: -125px;
    }

    .tooltip-text::after {
        top: auto;
        bottom: 100%;
        border-color: transparent transparent #333 transparent;
    }
}

@media (max-width: 480px) {
    .header {
        height: 80px;
    }

    .header img {
        max-height: 60px;
    }

    .logo-container {
        margin-top: 20px;
    }

    .logo-container img {
        max-width: 100px;
        min-width: 80px;
    }

    .page-title {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .terms-checkbox {
        font-size: 11px;
    }
}}