@font-face {
    font-family: 'IRANSans';
    src: url('./IRANSans.ttf') format('truetype');
}

* {
    box-sizing: border-box;
    font-family: 'IRANSans', Tahoma, sans-serif;
}

body {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.auth-card {
    background: #fff;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 20px;
}

.auth-header {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.auth-header h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.auth-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.auth-body {
    padding: 30px 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #2d3436;
    font-weight: bold;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #dfe6e9;
    border-radius: 12px;
    font-size: 15px;
    transition: 0.3s;
    background: #fafafa;
}

.form-control:focus {
    border-color: #6c5ce7;
    outline: none;
    background: #fff;
}

.btn-auth {
    width: 100%;
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.4);
}

.auth-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #636e72;
}

.auth-footer a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: bold;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.6;
}

.alert-error {
    background: #ffeaea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #e8f8f5;
    color: #0e7c66;
    border: 1px solid #b2dfdb;
}

.user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #495057;
}

.user-bar a {
    color: #d63031;
    text-decoration: none;
    font-weight: bold;
}
