/* === Genel Ayarlar ve Arka Plan === */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-image: url('../img/background/background.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #f7f7f7;
}

/* === Kayıt Alanı Konteynırı === */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Header yüksekliği 70px olduğu için 70px düştük, böylece tam merkezlenir */
    min-height: calc(100vh - 70px); 
    padding: 20px;
}

/* === Kayıt Form Kutusu === */
.register-box {
    background: rgba(18, 18, 18, 0.95); 
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
    border: 2px solid #ffcc00; /* Altın Sarısı Çerçeve */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    color: #f7f7f7;
    text-align: center;
}

.register-box h2 {
    color: #ffcc00; 
    font-size: 1.8em;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.5); 
}

/* === Input Form Elemanları === */
.register-box input {
    width: calc(100% - 24px); 
    padding: 12px;
    margin-bottom: 15px;
    background: #333; 
    color: #fff;
    border: 1px solid #666;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.register-box input:focus {
    border-color: #cc0000; /* Kırmızı odaklanma */
    outline: none;
}

/* === Kayıt Butonu === */
.register-box button {
    width: 100%;
    padding: 15px;
    background: #cc0000; 
    color: #fff;
    border: none;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 1.1em;
    text-transform: uppercase;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
}

.register-box button:hover {
    background: #990000;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 0, 0, 0.5);
}

/* === Alt Linkler (Giriş Yap) === */
.register-box .login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 1em;
    color: #ccc;
}

.register-box .login-link a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.register-box .login-link a:hover {
    color: #fff;
    text-decoration: underline;
}

/* === Geri Bildirim Kutuları (Feedback) === */
.feedback {
    max-width: 100%;
    margin: 15px auto;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
}

.feedback.success {
    background-color: rgba(0, 128, 0, 0.2);
    color: #00cc00;
    border: 1px solid #00cc00;
}

.feedback.error {
    background-color: rgba(204, 0, 0, 0.2);
    color: #cc0000;
    border: 1px solid #cc0000;
}

.feedback .tick {
    font-size: 1.5em;
}

/* === Mobil Uyumluluk === */
@media (max-width: 600px) {
    .register-box {
        padding: 30px 20px;
        max-width: 95%;
    }
    .register-container {
        padding: 10px;
    }
}