html,
body {
    height: 100%;
    margin: 0;
    background-color: transparent;
    font-family: var(--font-family, "Raleway", sans-serif);
    font-size: var(--font-size, 16px);
    color: #fff;
}

a {
    color: #fff !important;
}

.logo-margin-top {
    margin-top: 50px;
    width: 100%;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    background: var(--bg-color, transparent);
    background-image: var(--bg-image, url("/img/background-page.jpg"));
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.cover-background .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color, rgba(202, 221, 254, 0.8));
    z-index: -1;
}

.cover-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mastfoot {
    text-align: center;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
}

.inner.text-center,
.result-table {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(55vh - 150px);
}

.result-table {
    width: 100%;
}

.inner.text-center form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.table {
    margin: 0 auto;
    max-width: 90%;
}

.btn-fixed-size {
    width: 200px;
    min-height: 60px;
    color: #fff;
}

/* Button theme colors via variables */
.btn-primary { background-color: var(--btn-primary, #007bff); border-color: var(--btn-primary, #007bff); }
.btn-secondary { background-color: var(--btn-secondary, #6c757d); border-color: var(--btn-secondary, #6c757d); }
.btn-success { background-color: var(--btn-success, #28a745); border-color: var(--btn-success, #28a745); }
.btn-danger { background-color: var(--btn-danger, #dc3545); border-color: var(--btn-danger, #dc3545); }

.container{
    height: 55vh !important;
}

.client-footer {
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding: 18px 10px;
    background: var(--footer-bg, rgba(0, 0, 0, 0.5));
    color: var(--footer-text-color, rgba(255, 255, 255, 0.9));
}

.client-footer a {
    color: var(--footer-text-color, rgba(255, 255, 255, 0.9));
    font-weight: 600;
}

/* === INDEX PAGE SPECIFIC STYLES (moved from index.html) === */
.welcome-section { padding: 2rem 0; text-align: center; animation: fadeInDown 0.8s ease; }
.welcome-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.welcome-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.95); margin-bottom: 2rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; padding: 2rem 1rem; max-width: 1200px; margin: 0 auto; }
.service-card { background: rgba(255, 255, 255, 0.95); border-radius: 15px; padding: 2.5rem 1.5rem; text-align: center; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.1); cursor: pointer; position: relative; overflow: hidden; text-decoration: none; display: block; }
.service-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s ease; }
.service-card:hover::before { left: 100%; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.service-icon { font-size: 3.5rem; margin-bottom: 1.5rem; transition: transform 0.3s ease; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-card.primary .service-icon { color: #007bff; }
.service-card.secondary .service-icon { color: #6c757d; }
.service-card.success .service-icon { color: #28a745; }
.service-card.danger .service-icon { color: #dc3545; }
.service-card.primary:hover { border-top: 4px solid #007bff; }
.service-card.secondary:hover { border-top: 4px solid #6c757d; }
.service-card.success:hover { border-top: 4px solid #28a745; }
.service-card.danger:hover { border-top: 4px solid #dc3545; }
.service-title { font-size: 1.4rem; font-weight: 600; color: #333; margin-bottom: 0.8rem; }
.service-description { font-size: 0.95rem; color: #666; line-height: 1.6; }
.logo-container { text-align: center; padding: 1.5rem 0; animation: fadeIn 1s ease; }
.logo-container img { max-width: 100%; height: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)); transition: transform 0.3s ease; }
.logo-container img:hover { transform: scale(1.05); }

/* Form fields inside service cards */
.form-fields { text-align: left; }
.form-fields label { display: block; margin-top: 0.8rem; margin-bottom: 0.3rem; font-weight: 500; color: #444; font-size: 0.95rem; }
.form-fields input.form-control,
.form-fields select.form-control,
.form-fields textarea.form-control {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border 0.2s ease;
}
.form-fields input:focus,
.form-fields select:focus,
.form-fields textarea:focus { outline: none; border-color: var(--btn-primary, #007bff); box-shadow: 0 0 0 3px rgba(0,123,255,0.1); }
.form-fields .radio-group { margin-top: 0.5rem; }
.form-fields .radio-group label { display: inline-block; margin-right: 1rem; font-weight: 400; }

/* Back home button styling */
.back-home-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, rgb(9 123 250), rgb(9 123 250));
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}
.back-home-btn:hover {
    background: linear-gradient(135deg, rgb(9 123 250 / 25%), rgb(9 123 250));
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.back-home-btn i { margin-right: 0.5rem; }

/* Status pages styling */
.status-panel {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 900px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    animation: fadeIn 0.6s ease;
    margin: 25px;
    width:100%;
}
.status-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}
.status-title i { color: var(--btn-primary, #007bff); }
.status-form {
    margin-bottom: 2rem;
}
.status-input-group {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.status-input-group input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border 0.3s ease;
}
.status-input-group input:focus {
    outline: none;
    border-color: var(--btn-primary, #007bff);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}
.status-input-group button {
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
}
.status-result {
    margin-top: 2rem;
}
.status-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.status-table table {
    width: 100%;
    color: #333;
}
.status-table thead {
    background: linear-gradient(135deg, var(--btn-primary, #007bff), var(--btn-secondary, #0056b3));
    color: #fff;
}
.status-table th {
    padding: 1rem;
    font-weight: 600;
    text-align: left;
}
.status-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #eee;
}
.status-table tbody tr:hover {
    background: rgba(0,123,255,0.05);
}
.status-caption {
    caption-side: top;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {
    .welcome-title { font-size: 2rem; }
    .welcome-subtitle { font-size: 1rem; }
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-card { padding: 2rem 1rem; }
    .form-fields label { font-size: 0.9rem; }
    .form-fields input.form-control, .form-fields select.form-control, .form-fields textarea.form-control { font-size: 0.9rem; padding: 0.5rem 0.7rem; }
    .status-panel { padding: 1.8rem 1.2rem; max-width: 100%; }
    .status-title { font-size: 1.6rem; }
    .status-input-group { flex-direction: column; }
    .status-input-group button { width: 100%; }
}
/* === END INDEX PAGE STYLES === */
