/* این خط را پاک کنید: @import url(...) */

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    /* فونت را به یک فونت سیستمی ساده تغییر دهید */
    font-family: 'Tahoma', 'Segoe UI', sans-serif; 
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --primary: #6a11cb;
    --secondary: #2575fc;
    --text: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Vazirmatn', sans-serif; }

body {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--text);
}

/* Background Animated Shapes */
.background-shapes::before, .background-shapes::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}
.background-shapes::before { background: var(--primary); top: -50px; left: -50px; }
.background-shapes::after { background: var(--secondary); bottom: -50px; right: -50px; }

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.title { text-align: center; margin-bottom: 1.5rem; font-weight: 700; }

/* Tabs */
.tabs { display: flex; gap: 10px; margin-bottom: 20px; background: rgba(0,0,0,0.2); padding: 5px; border-radius: 10px; }
.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}
.tab-btn.active { background: var(--glass-bg); color: #fff; font-weight: bold; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: block; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; }
input[type="text"] {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}
input[type="text"]:focus { background: rgba(255, 255, 255, 0.15); border-color: var(--secondary); }

/* Custom File Input */
.file-upload {
    display: block;
    padding: 12px;
    border: 2px dashed var(--glass-border);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}
.file-upload:hover { border-color: var(--secondary); background: rgba(255,255,255,0.05); }
input[type="file"] { display: none; }

/* Button */
.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}
.btn-submit:active { transform: scale(0.98); }
.btn-submit.download { background: linear-gradient(90deg, #11998e, #38ef7d); }

.alert { 
    background: rgba(255, 200, 0, 0.2); 
    border: 1px solid rgba(255, 200, 0, 0.4); 
    color: #ffeb3b; 
    padding: 10px; 
    border-radius: 8px; 
    margin-bottom: 15px; 
    font-size: 0.9rem; 
    text-align: center;
}

.hint { font-size: 0.75rem; text-align: center; margin-top: 10px; opacity: 0.7; }

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