/* Dashboard specific styles */
.time-security-bar {
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

.current-time {
    font-weight: 600;
    color: #333;
}

.security-message-container {
    overflow: hidden;
    max-width: 80%;
}

.security-message {
    white-space: nowrap;
    animation: scrollText 20s linear infinite;
    color: #ff0019;
    font-weight: 500;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.banking-menu {
    background-color: #03838e;
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banking-menu .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.banking-menu .nav-link:hover {
    background-color: rgba(30, 58, 138, 0.1);
}

.banking-menu .nav-link.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 20px;
}

.account-dropdown .dropdown-toggle {
    background: none;
    border: none;
    text-align: right;
}

.account-dropdown .dropdown-toggle::after {
    display: none;
}

.account-name, .account-number {
    display: block;
}

.account-name {
    font-weight: 600;
}

.account-number {
    opacity: 0.8;
}

/* Dashboard content */
.dashboard-welcome {
    background-color: var(--primary-color);
    color: #000;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.account-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.account-card:hover {
    transform: translateY(-5px);
}

.account-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.account-card .balance {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.account-card .currency-tabs {
    margin-bottom: 1rem;
}

.account-card .currency-tabs .nav-link {
    color: #666;
    font-weight: 500;
}

.account-card .currency-tabs .nav-link.active {
    color: #000;
    font-weight: 600;
    background-color: rgba(30, 58, 138, 0.1);
}

.account-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.account-details .label {
    color: #666;
}

.account-details .value {
    font-weight: 500;
    color: #333;
}

.transaction-history-btn {
    background-color: #03838e;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.transaction-history-btn:hover {
    background-color: #0b555cde;
}

/* Transaction history modal */
.modal-header {
    background-color: var(--secondary-color);
    color: white;
}

.modal-title {
    font-weight: 600;
}

#transactionTable th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

#transactionTable .badge {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .security-message-container {
        max-width: 60%;
    }
    
    .account-dropdown .dropdown-toggle {
        font-size: 0.9rem;
    }
    
    .banking-menu .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .dashboard-welcome {
        padding: 1rem;
    }
    
    .welcome-title {
        font-size: 1.2rem;
    }
    
    .account-card {
        padding: 1rem;
    }
    
    .account-card .balance {
        font-size: 1.5rem;
    }
}

/* Calendar styles */
.calendar-table {
    width: 100%;
    text-align: center;
}

.calendar-table th {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.calendar-table td {
    width: 14.28%;
    height: 30px;
    padding: 5px;
    font-size: 0.85rem;
    vertical-align: middle;
    border: 1px solid #f0f0f0;
}

.calendar-table td.today {
    background-color: #03838e;
    color: white;
    font-weight: 600;
    border-radius: 50px;
}

.calendar-table td:hover:not(:empty):not(.today) {
    background-color: rgba(30, 58, 138, 0.1);
    cursor: pointer;
}

/* Add this to your existing responsive styles */
@media (max-width: 768px) {
    .calendar-table th, 
    .calendar-table td {
        font-size: 0.75rem;
        padding: 3px;
    }
    
    .calendar-table td {
        height: 25px;
    }
}