/* تنظیمات کلی */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, #fce4ec, #f8e8f0);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    direction: rtl;
}
.container {
    width: 100%;
    max-width: 600px;
}
.card {
    background: #ffffffdd;
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(200, 120, 150, 0.25);
    border: 1px solid #fadadd;
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 25px 70px rgba(200, 120, 150, 0.35);
}
h1 {
    font-size: 28px;
    font-weight: 700;
    color: #7a3b4a;
    text-align: center;
    margin-bottom: 10px;
}
p {
    color: #6b4b55;
    text-align: center;
    font-size: 15px;
    margin-bottom: 20px;
}
.logo {
    max-width: 100px;
    display: block;
    margin: 0 auto 15px;
}

/* فرم */
.register-form .form-group {
    margin-bottom: 18px;
}
.register-form label {
    display: block;
    font-weight: 400;
    color: #5a3e47;
    margin-bottom: 6px;
    font-size: 14px;
}
.register-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #f1d4da;
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Vazirmatn', sans-serif;
    background: #fffcfc;
    transition: 0.2s;
}
.register-form input:focus {
    outline: none;
    border-color: #d49aa8;
    box-shadow: 0 0 0 4px #f3d9e0;
}
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #c88a9b, #b06d82);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(180, 100, 130, 0.3);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(180, 100, 130, 0.4);
    background: linear-gradient(135deg, #b87a8b, #a06176);
}
.note {
    font-size: 12px;
    color: #9a7b83;
    margin-top: 20px;
    text-align: center;
}

/* پیام‌ها */
.message {
    padding: 12px 18px;
    border-radius: 16px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 400;
}
.message.success {
    background: #e6f7e6;
    color: #2e7d32;
    border: 1px solid #b8e0b8;
}
.message.error {
    background: #fde8e8;
    color: #b34141;
    border: 1px solid #f5c2c2;
}
.message.info {
    background: #e3f0fc;
    color: #1a5b8a;
    border: 1px solid #b8d4f0;
}

/* جدول ادمین */
.admin-panel .card {
    max-width: 100%;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}
table th {
    background: #f5e1e7;
    color: #5a3e47;
    padding: 12px 8px;
    text-align: center;
    border-bottom: 2px solid #dbb6c1;
}
table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #f2dee3;
}
table tr:hover td {
    background: #fbf3f5;
}
.table-responsive {
    overflow-x: auto;
}