.info-message {
    background-color: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--primary);
    color: var(--text);
    padding: 12px 16px;
    margin-bottom: 24px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    animation: slideIn 0.3s ease-out;
}

.error-message {
    color: var(--error);
    font-size: 13px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.error-message::before {
    content: '⚠';
    margin-right: 6px;
    font-size: 14px;
}

.info-message::before {
    content: 'ℹ';
    margin-right: 10px;
    font-size: 16px;
    color: var(--primary);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form inputları için hata durumu */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--error);
    background-color: rgba(239, 68, 68, 0.05);
}

.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --input-bg: #334155;
    --input-border: #475569;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text);
    padding: 20px;
}

.register-container {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 40px 12px 12px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.register-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-btn:hover {
    background-color: var(--primary-light);
}

.login-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.login-link a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.login-link a:hover {
    color: var(--primary);
}

.error-message {
    color: var(--error);
    font-size: 12px;
    margin-top: 4px;
}

.input-icon {
    position: absolute;
    top: 55%;
    right: 12px;
    color: var(--text-muted);
    font-size: 18px;
    pointer-events: none;
}

@media (max-width: 480px) {
    .register-container {
        padding: 30px 20px;
    }

    .register-title {
        font-size: 24px;
    }

    .form-input {
        font-size: 16px;
    }

    .register-btn {
        font-size: 16px;
    }
}

.terms-privacy {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.terms-privacy a {
    color: var(--primary-light);
    text-decoration: none;
    cursor: pointer;
}

.terms-privacy a:hover {
    color: var(--primary);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

/* Yeni eklenen ve güncellenen CSS kodları */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-wrapper label {
    font-size: 14px;
    color: var(--text-muted);
}

.checkbox-wrapper a {
    color: var(--primary-light);
    text-decoration: none;
}

.checkbox-wrapper a:hover {
    color: var(--primary);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    color: var(--primary);
}

.close {
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--text);
}

.modal-body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-light);
    cursor: pointer;
}

.read-more:hover {
    color: var(--primary);
}

.fullscreen {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    max-width: none !important;
    max-height: none !important;
}