.nsdl-user-dashboard {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.nsdl-user-dashboard h2 {
    margin-top: 0;
    color: #333;
}

.nsdl-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.nsdl-stat-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nsdl-stat-icon {
    font-size: 36px;
}

.nsdl-stat-content h3 {
    margin: 0 0 5px 0;
    font-size: 28px;
    color: #2271b1;
}

.nsdl-stat-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.nsdl-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.nsdl-alert-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.nsdl-alert-danger {
    background: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
}

.nsdl-alert a {
    color: inherit;
    text-decoration: underline;
    font-weight: bold;
}

.nsdl-quick-actions {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.nsdl-action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nsdl-btn {
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.nsdl-btn-primary {
    background: #2271b1;
    color: #fff;
}

.nsdl-btn-primary:hover {
    background: #135e96;
    color: #fff;
}

.nsdl-btn-secondary {
    background: #f0f0f1;
    color: #2c3338;
}

.nsdl-btn-secondary:hover {
    background: #dcdcde;
}

.nsdl-btn-small {
    padding: 5px 10px;
    font-size: 12px;
}

.nsdl-pan-form-container,
.nsdl-status-check-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.nsdl-remaining-hits {
    background: #e7f3ff;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    color: #0073aa;
}

.nsdl-form {
    max-width: 800px;
}

.nsdl-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.nsdl-form-group {
    display: flex;
    flex-direction: column;
}

.nsdl-form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.nsdl-form-group .required {
    color: #dc3545;
}

.nsdl-form-group input,
.nsdl-form-group select,
.nsdl-form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.nsdl-form-group input:focus,
.nsdl-form-group select:focus,
.nsdl-form-group textarea:focus {
    outline: none;
    border-color: #2271b1;
}

.nsdl-form-group small {
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.nsdl-form h4 {
    margin: 30px 0 15px 0;
    color: #333;
}

.nsdl-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.nsdl-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.nsdl-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.nsdl-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.nsdl-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.nsdl-table thead {
    background: #f0f0f1;
}

.nsdl-table th,
.nsdl-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.nsdl-table th {
    font-weight: bold;
    color: #333;
}

.nsdl-table tbody tr:hover {
    background: #f9f9f9;
}

.nsdl-no-data {
    text-align: center;
    color: #666;
    padding: 20px;
}

.nsdl-status-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.nsdl-status-badge.nsdl-status-pending {
    background: #fff3cd;
    color: #856404;
}

.nsdl-status-badge.nsdl-status-submitted {
    background: #cfe2ff;
    color: #084298;
}

.nsdl-status-badge.nsdl-status-success {
    background: #d1e7dd;
    color: #0f5132;
}

.nsdl-status-badge.nsdl-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.nsdl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nsdl-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.nsdl-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #666;
}

.nsdl-modal-close:hover {
    color: #000;
}

#nsdl-status-result {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #ddd;
}

.nsdl-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

@media (max-width: 768px) {
    .nsdl-form-row {
        grid-template-columns: 1fr;
    }

    .nsdl-stats-grid {
        grid-template-columns: 1fr;
    }

    .nsdl-table {
        font-size: 12px;
    }

    .nsdl-table th,
    .nsdl-table td {
        padding: 8px;
    }
}
