/*hero*/
section.hero{
    background-image: url(https://th.bing.com/th/id/R.a41fe47fa68ca7bae40c61dd3f9e09f0?rik=JWXAGH1z2u8pVg&pid=ImgRaw&r=0);
    background-size:auto;
    background-position: center;
    background-repeat: no-repeat;
    
}

table{
        width:100%
}

.hero .hero-content{
    background:rgba(255,255,255,.91);
    height:40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:10px
}
.hero-content button{
    width:fit-content
}

.header-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form.card{
    width:50%;
    margin:auto
}

.form.card .options{
    display:flex;
    align-items: center;
    gap:30px;
    margin:1em 0 1em 0
}

.bio-data .image img{
    width:200px;
    height:200px;
    object-fit: cover;
    object-position: center;
    border-radius: 360px;
    display: block;
}

.field img{
    display:block;
    width:80px;
    height:80px;
    margin: 0 0 .5em 0;
    border-radius: 360px;
    object-fit: cover;
    object-position: center;
}


.card.tax_record{
    width:90%;
    margin:2em auto;
    padding:2em
}

.card.payment_result{
    width:50%;
    margin:5em auto;
    padding:4em
}
.card.card.payment_result div.title{
    text-align: start;
    text-transform: uppercase;
}
.card.card.payment_result .vendor-data p{
    line-height: .4;
}
.card.card.payment_result .button-row{
    display: flex;
    gap:5px;
    align-items: center;
}
.card.card.payment_result .button-row button{
    margin-top: 2em;
}
.hide-overlay{
    opacity: 0;
    z-index: -1;
}

.hide-modal-content{
    transform: scale(0);
    opacity: 0;
}
@media(max-width:768px){
    section.hero{
        background-position: center;
        background-size: cover
    }
    .hero .hero-content{
        height: 50vh;
    }
    .form.card{
        width:100%
    }
    
    .card.payment_result{
        width:100%
    }

}
@media print{
    button, footer, nav{
        display: none;
    }
}

/* custom.css */
:root {
    --glass-bg-light: rgba(255, 255, 255, 0.2);
    --glass-bg-dark: rgba(30, 30, 30, 0.3);
    --glass-border-light: rgba(255, 255, 255, 0.3);
    --glass-border-dark: rgba(0, 0, 0, 0.3);
    --text-light: #333;
    --text-dark: #fff;
    --accent-color: rgba(239, 68, 68, 0.15);
}

/* Base styles for all pages */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background 0.3s ease;
}

/* Light theme */
body.light-theme {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: var(--text-light);
}

/* Dark theme */
body.dark-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--text-dark);
}

/* Glass card component - reusable across pages */
.glass-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.light-theme .glass-card {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-light);
}

.dark-theme .glass-card {
    background: var(--glass-bg-dark);
    border: 1px solid var(--glass-border-dark);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-color);
    z-index: -1;
    opacity: 0.5;
}

/* Form elements */
.glass-card .input {
    transition: all 0.3s ease;
}

.light-theme .glass-card .input {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

.dark-theme .glass-card .input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.glass-card .input:focus {
    box-shadow: 0 0 0 0.125em rgba(239, 68, 68, 0.25);
}

/* Buttons */
.glass-card .button {
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    background-color: rgba(239, 68, 68, 0.8);
    color: white;
    border: none;
}

.glass-card .button:hover {
    background-color: rgba(239, 68, 68, 0.9);
    transform: translateY(-2px);
}

/* Typography */
.glass-card h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.light-theme .glass-card h2 {
    color: #333;
}

.dark-theme .glass-card h2 {
    color: #fff;
}

.glass-card .label {
    font-weight: 500;
}

.light-theme .glass-card .label {
    color: #444;
}

.dark-theme .glass-card .label {
    color: #eee;
}

/* Links */
.glass-card a {
    font-weight: 600;
    text-decoration: underline;
    color: rgba(239, 68, 68, 0.9);
}

.glass-card a:hover {
    color: rgba(239, 68, 68, 1);
}

/* Utility classes */
.section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 2rem;
}

.error-message {
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.success-message {
    color: #48bb78;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* For wider cards (like dashboard) */
.glass-card.wide {
    max-width: 800px;
}

/* For full-width cards */
.glass-card.full-width {
    max-width: 100%;
}

/* Table styles for data pages */
.glass-card table {
    width: 100%;
    background: transparent;
}

.light-theme .glass-card table {
    background: rgba(255, 255, 255, 0.5);
}

.dark-theme .glass-card table {
    background: rgba(0, 0, 0, 0.2);
}

.glass-card table th {
    font-weight: 600;
    border-bottom: 2px solid rgba(239, 68, 68, 0.3);
}

.glass-card table td {
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
    padding: 0.75em;
}