@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", serif;
}

body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(to right,#e2e2e2,
#c9d6ff);
color: #333;
}

.container {
    margin: 0 15px;
}

.form-box {
    width: 100%;
    max-width: 450px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    display: none;
}

.form-box.active {
    display: block;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 34px;

}
input{
    width: 100%;
    padding: 12px;
    background: #eee;
    border: none;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
    outline: none;
    color: #333;
}

button {
    width: 100%;
    padding: 12px;
    background: #825ad8;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 20px;
    transition: 0.5s;
}

button:hover {
    background: #654190;
}

p {
    text-align: center;
    font-size: 14.5px;
    margin-bottom: 10px;
}

p a {
    color: #805ad8;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}


.forgot-password-link {
    display: block; 
    text-align: right; 
    margin-top: -10px; 
    margin-bottom: 20px; 
    font-size: 14px;
    color: #805ad8;
    text-decoration: none;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.verify-notice-box {
    width: 100%;
    max-width: 450px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 15px;
}

.success-message {
    color: green;
    font-size: 14px;
    margin-bottom: 15px;
}

/* BURAYA DİKKAT: Şifre doğrulama arayüzü için eklenen stil kuralları */
.password-validation-container {
    margin-top: -10px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.validation-rule {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.validation-rule .line {
    width: 5px;
    height: 18px;
    border-radius: 2px;
    margin-right: 12px;
    background-color: rgba(255, 0, 0, 0.4); /* Kırmızı */
    transition: background-color 0.3s ease;
}

.validation-rule.valid .line {
    background-color: #4CAF50; /* Canlı yeşil */
}

.validation-rule p {
    margin: 0;
    font-size: 14px;
    text-align: left;
    color: #888;
    transition: color 0.3s ease;
}

.validation-rule.valid p {
    color: #4CAF50;
    font-weight: 500;
}
        
button[disabled] {
    background-color: #aaa;
    cursor: not-allowed;
    box-shadow: none;
}

button[disabled]:hover {
    background-color: #aaa;
}
