@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4a69bd;
    --primary-color-dark: #3a539b;
    --background-color: #f4f7f9;
    --panel-background: #ffffff;
    --text-color: #333333;
    --label-color: #555555;
    --border-color: #dfe4ea;
    --error-color: #e74c3c;
    --white-color: #ffffff;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: var(--background-color); color: var(--text-color); line-height: 1.6; }

.container { max-width: 500px; width: 90%; background-color: var(--panel-background); border-radius: 15px; box-shadow: var(--box-shadow); overflow: hidden; }
.form-panel { padding: 50px; }
.form-panel h2 { text-align: center; margin-bottom: 15px; font-size: 1.8rem; color: var(--primary-color); }
.form-description { text-align: center; margin-bottom: 30px; font-size: 0.9rem; color: var(--label-color); }
.form-group { margin-bottom: 20px; position: relative; }
.form-group label { display: flex; align-items: center; font-weight: 500; margin-bottom: 8px; color: var(--label-color); font-size: 0.9rem; }
.form-group label i { font-size: 1.2rem; margin-right: 8px; color: var(--primary-color); }
.form-group input { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; }
.form-btn { width: 100%; padding: 12px; border: none; border-radius: 8px; background-color: var(--primary-color); color: var(--white-color); font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; }
.form-btn:hover { background-color: var(--primary-color-dark); }
.switch-form-text { text-align: center; margin-top: 20px; font-size: 0.9rem; }
.switch-form-text a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.switch-form-text a:hover { text-decoration: underline; }

/* Modal Styles */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; transition: opacity 0.3s ease; }
.modal-box { background: var(--panel-background); padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); text-align: center; width: 90%; max-width: 400px; transform: scale(0.9); transition: transform 0.3s ease; }
.modal-box p { font-size: 1.1rem; margin-bottom: 20px; }
.modal-box button { padding: 10px 25px; border: none; border-radius: 5px; background-color: var(--primary-color); color: var(--white-color); font-size: 1rem; cursor: pointer; }