/* Page Inscription — minimal */

.register-page {
    background-color: #111;
    padding: 32px 0 48px;
    min-height: calc(100vh - 120px);
}

.register-page .container {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 16px;
}

.register-container {
    padding: 0;
}

.register-header {
    margin-bottom: 28px;
}

.register-header h1 {
    color: #FFDD03;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.register-header p {
    color: #fff;
    font-size: 15px;
    margin: 0;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.register-form .form-group {
    margin: 0;
}

.register-form .form-group label {
    color: #fff;
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
}

.register-form .form-group input[type="text"],
.register-form .form-group input[type="email"],
.register-form .form-group input[type="tel"],
.register-form .form-group input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.register-form .form-group input::placeholder {
    color: #fff;
    font-size: 16px;
}

.register-form .form-group input:focus {
    border-color: #FFDD03;
    box-shadow: none;
}

.register-form .form-group input.is-error {
    border-color: #dc3545;
}

.register-form .form-check {
    margin: 4px 0 0;
}

.register-form .form-check label {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.45;
}

.register-form .form-check label span {
    flex: 1;
}

.register-form .form-check input[type="checkbox"] {
    accent-color: #FFDD03;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.register-form .form-check a {
    color: #FFDD03;
    text-decoration: none;
}

.register-form .form-check a:hover {
    text-decoration: underline;
}

.register-btn {
    background-color: #FFDD03;
    color: #000;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
    width: 100%;
}

.register-btn:hover {
    background-color: #e5c700;
}

.register-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.login-link a {
    color: #FFDD03;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

.register-form .error-message {
    display: none;
    background: rgba(220, 53, 69, 0.12);
    color: #f87171;
    border: 1px solid rgba(220, 53, 69, 0.25);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin: 0 0 16px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    padding: 14px 18px;
    border-radius: 6px;
    z-index: 1000;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    max-width: 360px;
    margin-left: auto;
    transition: opacity 0.3s ease;
}

.notification-success {
    background-color: #28a745;
    color: #fff;
}

.notification-error {
    background-color: #dc3545;
    color: #fff;
}

.notification-warning {
    background-color: #ffc107;
    color: #000;
}

.notification-info {
    background-color: #17a2b8;
    color: #fff;
}

@media (max-width: 768px) {
    .register-page {
        padding: 24px 0 40px;
    }

    .register-header h1 {
        font-size: 22px;
    }
}
