@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Segoe+UI&display=swap');

body { font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif; background-color: #f8f9fa; margin: 0; padding: 0; }

.header { background-color: #fff; padding: 15px 50px; border-bottom: 4px solid #005a41; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.logo { height: 70px; }
.lang-switch { color: #005a41; font-weight: bold; cursor: pointer; text-decoration: underline; font-size: 14px; }

.main-container { display: flex; justify-content: center; align-items: center; min-height: calc(100vh - 160px); padding: 20px; }
.login-card { background: white; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; max-width: 450px; overflow: hidden; transition: all 0.3s ease; position: relative; }

.view-section { padding: 40px; display: none; }
.view-section.active { display: block; animation: fadeIn 0.5s; }
.rtl { direction: rtl; text-align: right; }

h2 { color: #005a41; margin-top: 0; margin-bottom: 15px; font-size: 22px; }
.subtitle { font-size: 13px; color: #666; margin-bottom: 25px; }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; color: #444; font-size: 14px; }
input { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; transition: border 0.3s; font-size: 14px; }
input:focus { border-color: #005a41; outline: none; box-shadow: 0 0 0 2px rgba(0,90,65,0.1); }

.btn { width: 100%; padding: 14px; background-color: #005a41; color: white; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 16px; margin-top: 10px; }
.btn:hover { background-color: #004230; }

.link-action { margin-top: 20px; font-size: 13px; color: #888; text-align: center; }
.link-action a { color: #005a41; text-decoration: none; cursor: pointer; font-weight: 600; }
.link-action a:hover { text-decoration: underline; }
.forgot-subtext { margin-top: 15px; font-size: 12px; color: #888; }
.forgot-subtext a { color: #005a41; text-decoration: none; cursor: pointer; font-weight: 600; }
.forgot-subtext a:hover { text-decoration: underline; color: #004230; }

.success-msg { text-align: center; color: #155724; background-color: #d4edda; border: 1px solid #c3e6cb; padding: 20px; border-radius: 6px; display: none; }
.success-msg.active { display: block; }

.footer { background-color: #1a1a1a; color: #999; padding: 30px; text-align: center; font-size: 13px; line-height: 1.6; }
.footer b { color: #fff; }

.seo-hidden { display: none; }
.hidden_frame { display: none; width: 0; height: 0; border: none; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .header { padding: 15px 20px; }
    .logo { height: 50px; }
    .view-section { padding: 30px 20px; }
}
