/* Agency Register Page Styles */

.agency-register {
    min-height: 100vh;
    background: #f8fafc;
    padding: 60px 0;
    position: relative;
}

.agency-register__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.agency-register__header {
    text-align: center;
    margin-bottom: 50px;
}

.agency-register__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.agency-register__subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.agency-register__form-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.agency-register__form-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 40px;
    text-align: center;
    color: #fff;
}

.agency-register__form-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.agency-register__form-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.agency-register__form {
    padding: 40px;
}

.agency-register__section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.agency-register__section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.agency-register__section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.agency-register__section-title i {
    color: #4facfe;
    font-size: 1.2rem;
}

.agency-register__form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.agency-register__form-group {
    position: relative;
}

.agency-register__form-group--full {
    grid-column: 1 / -1;
}

.agency-register__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.agency-register__label i {
    color: #4facfe;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.agency-register__label--required::after {
    content: '*';
    color: #e53e3e;
    margin-left: 4px;
}

.agency-register__input-wrapper,
.agency-register__textarea-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.agency-register__input-icon,
.agency-register__textarea-icon {
    position: absolute;
    left: 16px;
    color: #a0aec0;
    font-size: 1rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.agency-register__textarea-icon {
    top: 16px;
}

.agency-register__input,
.agency-register__select,
.agency-register__textarea {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.agency-register__input:focus,
.agency-register__select:focus,
.agency-register__textarea:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.agency-register__input:focus + .agency-register__input-icon,
.agency-register__textarea:focus + .agency-register__textarea-icon {
    color: #4facfe;
}

.agency-register__input-wrapper:focus-within .agency-register__input-icon,
.agency-register__textarea-wrapper:focus-within .agency-register__textarea-icon {
    color: #4facfe;
}

.agency-register__textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 16px;
}

.agency-register__file-upload {
    position: relative;
    display: block;
    width: 100%;
    padding: 20px;
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.agency-register__file-upload:hover {
    border-color: #4facfe;
    background: #ebf8ff;
}

.agency-register__file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.agency-register__file-upload-icon {
    font-size: 2rem;
    color: #a0aec0;
    margin-bottom: 10px;
}

.agency-register__file-upload-text {
    color: #4a5568;
    font-weight: 500;
}

.agency-register__file-upload-subtext {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 5px;
}

.agency-register__checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.agency-register__checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.agency-register__checkbox-label {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
    cursor: pointer;
}

.agency-register__checkbox-label a {
    color: #4facfe;
    text-decoration: none;
}

.agency-register__checkbox-label a:hover {
    text-decoration: underline;
}

.agency-register__form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.agency-register__btn {
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.agency-register__btn--primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.agency-register__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
}

.agency-register__btn--secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.agency-register__btn--secondary:hover {
    background: #cbd5e0;
}

.agency-register__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.agency-register__success {
    text-align: center;
    padding: 60px 40px;
}

.agency-register__success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #fff;
    font-size: 2rem;
}

.agency-register__success-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.agency-register__success-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 30px;
}

.agency-register__benefits {
    background: #f7fafc;
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
}

.agency-register__benefits-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 30px;
}

.agency-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.agency-register__benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.agency-register__benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.agency-register__benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.agency-register__benefit-content p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .agency-register {
        padding: 30px 0;
    }
    
    .agency-register__container {
        padding: 0 15px;
    }
    
    .agency-register__title {
        font-size: 2rem;
    }
    
    .agency-register__form {
        padding: 30px 25px;
    }
    
    .agency-register__form-header {
        padding: 30px 25px;
    }
    
    .agency-register__form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .agency-register__steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .agency-register__step:not(:last-child)::after {
        display: none;
    }
    
    .agency-register__form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .agency-register__btn {
        width: 100%;
        justify-content: center;
    }
    
    .agency-register__benefits {
        padding: 25px;
    }
    
    .agency-register__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .agency-register__title {
        font-size: 1.8rem;
    }
    
    .agency-register__form {
        padding: 20px 15px;
    }
    
    .agency-register__form-header {
        padding: 25px 15px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-in-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-in-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
