* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.menu{
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;    
}
.paddingMAC{
    padding: 1rem 1.5rem;
}
.mainContent{
    margin-top: 0px;
}

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --gray-dark: #374151;
    --gray-light: #f3f4f6;
    --text-muted: #6c757d;
}

.logoIngreso{
    margin: 0 auto;
    max-width: 200px;
    height: auto;
}
.logoHead{
    max-width: 100px;
    height: auto;
}
.menuAcceso{
    text-align: center;
    display: none;
}

/* Interactive Card Styles */
.bank-card {
    width: 350px;
    height: 200px;
    perspective: 1000px;
    cursor: pointer;
}

.bank-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.bank-card:hover .bank-card-inner {
    transform: rotateY(180deg);
}

.bank-card-front,
.bank-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bank-card-front {
    background: #ab7be6;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.bank-card-back {
    background: #ab7be6;
    transform: rotateY(180deg);
    text-align: right;
}

.chip {
    width: 40px;
    height: 30px;
    background: #ffd700;
    border-radius: 5px;
}

.card-number {
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.fondoBanner{
    background-image: url('../images/fondoBco.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 30px 0;
}
.active{
    color: rgba(5,150,105,var(--tw-text-opacity));
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.account-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.account-type {
    font-size: 0.9rem;
    color: #7f8c8d;   
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.account-type span{
    font-size: 0.65rem;    
}

.account-number {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.account-balance {
    font-size: 2rem;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 1rem;
}

.account-details {
    border-top: 1px solid #ecf0f1;
    padding-top: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.detail-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 500;
}

.account-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

/*
.btn-primary {
    background-color: #3498db;
    color: white;
}
.btn-primary:hover {
    background-color: #2980b9;
}
.btn-secondary {
    background-color: #95a5a6;
    color: white;
}
.btn-secondary:hover {
    background-color: #7f8c8d;
}
*/

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.summary-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.summary-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.summary-item {
    text-align: center;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.summary-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.icon {
    margin-right: 0.5rem;
}

/* Formulario */
.header-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.form-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.input-field {
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.input-field:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.currency-rate {
    background-color: var(--light-blue);
    border-left: 4px solid var(--secondary-blue);
}

.commission-info {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    color: #16a34a;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.step-indicator {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-active {
    background-color: var(--secondary-blue);
    color: white;
}

.step-completed {
    background-color: #16a34a;
    color: white;
}
/* Formulario */

/* Transferencia */
:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --dark-gray: #374151;
    --light-gray: #f3f4f6;
}

.bank-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.nav-link {
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.dropdown-item {
    color: var(--dark-gray);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.transfer-form {
    display: none;
}

.transfer-form.active {
    display: block;
}

.form-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1px;
}

.btn-primary {
    background-color: #10b981;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #13875F;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 10px;
}

.input-field {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

.amount-display {
    background-color: var(--light-blue);
    border: 2px solid var(--secondary-blue);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.exchange-rate {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
}

.banco-header 
{
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}
.banco-sidebar {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}
.movimento-item:hover {
    background-color: #f1f5f9;
}
.ingreso {
    color: #059669;
}
.egreso {
    color: #dc2626;
}
.pendiente {
    color: #d97706;
}

/* Transferencia */


@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-content {
        flex-direction: column;
    }

    .accounts-grid {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }
    .mainContent{
        margin-top: 100px;
    }
    .menuAcceso{
        display: block;
    }
    .bank-card{
        width: 300px;
        height: 170px;
    }
    .mainContent .text-sm{
        font-size: 12px;
    }
}