.auth-section {
    padding: 120px 20px 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.auth-container {
    flex: 1;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-top: 1px solid rgba(241, 196, 15, 0.5);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.auth-form h2 {
    color: #f1c40f;
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #aaa;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    color: #ccc;
    margin-bottom: 8px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    transition: 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #f1c40f;
    background: rgba(255, 255, 255, 0.1);
}

.btn-auth {
    width: 100%;
    padding: 15px;
    background: #f1c40f;
    border: none;
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Rajdhani', sans-serif;
    margin-top: 10px;
}

.btn-auth:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.5);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.forgot-password {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #f1c40f;
}

.form-footer .btn-auth {
    width: auto;
    padding: 10px 30px;
}

.recovery-group {
    position: relative;
}

.btn-generate-key {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) translateY(6px);
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%23f1c40f"><path d="M480 256c0 123.4-100.6 224-224 224s-224-100.6-224-224S132.6 32 256 32V64c-106.1 0-192 85.9-192 192s85.9 192 192 192 192-85.9 192-192c0-33.1-8.5-64.4-23.7-91.4l-44.1 44.1c4.5 8.9 7.8 18.5 7.8 29.3zm-8-24.5c-4.4-7.5-9.3-14.7-14.7-21.5l-42.6 42.6c9.3 12.5 16.3 26.9 16.3 43.4 0 44.2-35.8 80-80 80s-80-35.8-80-80 35.8-80 80-80c14.5 0 28.1 3.9 40.3 10.8l43.8-43.8C318.8 89.2 288.4 80 256 80c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176c0-23-4.6-45-12.8-65.5z"/></svg>') no-repeat center center;
    background-size: contain;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.btn-generate-key:hover {
    opacity: 1;
    transform: translateY(-50%) translateY(6px) rotate(90deg);
}

.terms-group { margin: 25px 0; }
.terms-box {
    height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    font-size: 0.85rem;
    color: #999;
    overflow-y: auto;
    margin-bottom: 10px;
}
.terms-box a { color: #f1c40f; }

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #ccc;
}
.checkbox-label input {
    margin-right: 10px;
}

.auth-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.separator-line {
    width: 1px;
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.2);
}
.separator-text {
    color: #777;
    padding: 20px 0;
    font-weight: bold;
    text-transform: uppercase;
}

.about-creator {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.creator-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #f1c40f;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 0 25px rgba(241, 196, 15, 0.2);
}

.creator-name {
    color: #f1c40f;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}

.creator-bio {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .auth-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .auth-separator {
        flex-direction: row;
        min-height: auto;
        width: 80%;
    }
    .separator-line {
        height: 1px;
    }
    .separator-text {
        padding: 0 20px;
    }
}

.activation-container {
    width: 100%;
    max-width: 550px;
    background: rgba(10, 10, 10, 0.85);
    padding: 50px 40px;
    border: 1px solid rgba(241, 196, 15, 0.3);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(15px);
    animation: fadeInUp 0.8s ease-out forwards;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.activation-container h1 {
    color: #f1c40f;
    text-transform: uppercase;
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(241, 196, 15, 0.4);
    letter-spacing: 2px;
}

.notification-container {
    width: 100%;
    margin-bottom: 30px;
}

.notification {
    padding: 20px;
    border: 1px solid;
    display: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    position: relative;
    animation: fadeIn 0.5s;
    background: rgba(0, 0, 0, 0.4);
}

.notification.success {
    border-color: #2ecc71;
    color: #2ecc71;
    box-shadow: inset 0 0 20px rgba(46, 204, 113, 0.1);
}

.notification.error {
    border-color: #e74c3c;
    color: #e74c3c;
    box-shadow: inset 0 0 20px rgba(231, 76, 60, 0.1);
}

.btn-activation {
    display: inline-block;
    padding: 15px 40px;
    background: #f1c40f;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    transition: 0.3s;
    border: none;
    margin-top: 10px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-activation:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 25px rgba(241, 196, 15, 0.6);
    transform: translateY(-2px);
}

.switch-method-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

.switch-method-text a {
    color: #f1c40f;
    text-decoration: none;
    font-weight: bold;
}

.switch-method-text a:hover {
    text-decoration: underline;
}

.avatar-preview-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

#register-avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f1c40f;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.2);
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
}

.upload-btn-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.btn-upload {
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid #f1c40f;
    color: #f1c40f;
    padding: 8px 15px;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    pointer-events: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid #f1c40f;
    padding: 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    position: relative;
}

.cropper-box {
    max-width: 600px;
    width: 90%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.modal-header h2 {
    color: #f1c40f;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover { color: #fff; }

.img-container {
    height: 400px;
    background: #000;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.img-container img {
    display: block;
    max-width: 100%;
}

.cropper-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.cropper-actions button {
    width: auto;
    padding: 10px 25px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    border: 1px solid;
    transition: 0.3s;
}

.btn-secondary {
    background: transparent;
}
.btn-secondary:hover { background: rgba(231, 76, 60, 0.1); }

.btn-confirm {
    background: #f1c40f;
    border-color: #f1c40f;
    color: #000;
}
.btn-confirm:hover {
    background: #fff;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.5);
}

.cropper-view-box, .cropper-face {
    border-radius: 50%;
}
.cropper-view-box {
    outline: 2px solid #f1c40f;
    outline-color: rgba(241, 196, 15, 0.75);
}