@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;700&display=swap');

body, .notification-item, .notification-content, .notification-title, .notification-message {
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', 'Noto Sans', Arial, sans-serif !important;
}

/* Cards & Forms */
form, .package-card, .task-card, .dashboard-card {
    max-width: 480px;
    margin: 20px auto;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(26,115,232,0.10);
}

/* Typography */
h1, h2 {
    color: #1a73e8;
    text-align: center;
    margin: 20px 0;
    font-size: 1.8rem;
}

/* Form Elements */
input[type="text"], 
input[type="password"], 
input[type="number"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0 20px 0;
    border: 2px solid #bcdff1;
    border-radius: 8px;
    background: #f7fbff;
    font-size: 16px;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #1a73e8;
    outline: none;
}

label {
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

/* Buttons */
button, 
input[type="submit"],
.dashboard-btn {
    background: linear-gradient(90deg, #1a73e8 60%, #34a853 100%);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    margin: 10px 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

button:hover,
input[type="submit"]:hover,
.dashboard-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,115,232,0.2);
}

/* Tables */
table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e3eaf1;
}

th {
    background: #e3f0fa;
    color: #1a73e8;
    font-weight: bold;
}

tr:nth-child(even) {
    background: #f7fbff;
}

/* Messages */
p[style*='color:green'] {
    background: #e6f9e6;
    color: #218838 !important;
    border-left: 5px solid #34a853;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
}

p[style*='color:red'] {
    background: #ffeaea;
    color: #d93025 !important;
    border-left: 5px solid #ea4335;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
}

/* Progress Bar */
.progress-bar {
    background: #e3f0fa;
    border-radius: 10px;
    height: 15px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, #1a73e8 60%, #34a853 100%);
    transition: width 0.4s;
    border-radius: 10px;
}

/* Links */
a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a:hover {
    color: #34a853;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    form, .package-card, .task-card, .dashboard-card {
        padding: 15px;
        margin: 10px auto;
        border-radius: 12px;
    }
    
    h1, h2 {
        font-size: 1.5rem;
        margin: 15px 0;
    }
    
    input[type="text"], 
    input[type="password"], 
    input[type="number"] {
        padding: 10px;
        font-size: 15px;
    }
    
    button, 
    input[type="submit"],
    .dashboard-btn {
        padding: 12px 20px;
        font-size: 15px;
        margin: 8px 0;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    th, td {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .captcha-box,
    .task-question {
        padding: 15px;
        margin: 10px 0;
    }
    
    .captcha-text,
    .math-question {
        font-size: 20px !important;
        letter-spacing: 2px;
    }
    
    /* Dashboard Action Buttons */
    .dashboard-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .dashboard-btn {
        padding: 10px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #fff;
    }
    
    form, .package-card, .task-card, .dashboard-card {
        background: #2d2d2d;
        box-shadow: 0 4px 18px rgba(0,0,0,0.2);
    }
    
    input[type="text"], 
    input[type="password"], 
    input[type="number"] {
        background: #333;
        border-color: #444;
        color: #fff;
    }
    
    label {
        color: #eee;
    }
    
    table {
        background: #2d2d2d;
    }
    
    th {
        background: #333;
    }
    
    tr:nth-child(even) {
        background: #363636;
    }
    
    td {
        border-color: #444;
    }
} 