/* Font classes */
.roboto-condensed-100 { font-family: "Roboto Condensed", sans-serif; font-weight: 100; font-style: normal; }
.roboto-condensed-200 { font-family: "Roboto Condensed", sans-serif; font-weight: 200; font-style: normal; }
.roboto-condensed-300 { font-family: "Roboto Condensed", sans-serif; font-weight: 300; font-style: normal; }
.roboto-condensed-400 { font-family: "Roboto Condensed", sans-serif; font-weight: 400; font-style: normal; }
.roboto-condensed-500 { font-family: "Roboto Condensed", sans-serif; font-weight: 500; font-style: normal; }
.roboto-condensed-600 { font-family: "Roboto Condensed", sans-serif; font-weight: 600; font-style: normal; }
.roboto-condensed-700 { font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-style: normal; }
.roboto-condensed-800 { font-family: "Roboto Condensed", sans-serif; font-weight: 800; font-style: normal; }
.roboto-condensed-900 { font-family: "Roboto Condensed", sans-serif; font-weight: 900; font-style: normal; }
.montserrat { font-family: "Montserrat", sans-serif; font-weight: 700; }

/* Scytales-inspired styling */
:root {
    --primary-orange: #EB6823;
    --secondary-orange: #e66527;
    --light-orange: #fff4f0;
    --dark-text: #333333;
    --light-gray: #f8f9fa;
    --border-gray: #dee2e6;
    --accent-orange: #ff6b35;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styling */
.header {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container-fluid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header .navbar-brand {
    margin-right: 2rem;
}

.header .navbar-brand img {
    height: auto;
}

.header .header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
    color: white;
}

.header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    margin: 0;
    color: white;
}

/* Step indicators - Based on temp_page.html design */
.steps-container {
    background-color: var(--light-gray);
    padding: 0;
    border-bottom: none;
    margin-bottom: -4.5em;
}

.steps-container .container {
    padding: 0 3rem;
}

.steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    margin: 0;
}

.step {
    color: #999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.step.active {
    color: #EA6824;
}

.step-number {
    font-size: 7rem;
    margin-right: -25px;
    z-index: 100;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    display: block;
}

.step.active .step-number {
    background-color: transparent;
}

.step-content {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 15px 15px 10px 2px #00000026;
    padding: 1rem 2rem;
    margin: 1rem 0rem;
    transition: 0.3s;
    max-width: 230px;
    min-height: 150px;
    float: right;
    border: 1px solid #0000001f;
    display: block;
    text-align: left;
}

.step-title {
    font-weight: 800;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
    color: inherit;
}

.step-description {
    font-weight: 400;
    font-size: 0.9rem;
    color: inherit;
    margin-top: 1rem;
    max-width: none;
    line-height: 1.4;
}

/* Responsive behavior for mobile */
@media (max-width: 768px) {
    .step:not(.active) {
        display: none;
    }
    
    .steps-container .container {
        padding: 0 1rem;
    }
}

/* Main content */
.main-content {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Form sections */
.form-section {
    background-color: white;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-section h3 {
    color: var(--primary-orange);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Protocol selector */
.protocol-selector {
    margin-bottom: 2rem;
}

.protocol-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.dropdown-toggle {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    background-color: var(--secondary-orange);
    border-color: var(--secondary-orange);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--light-orange);
    color: var(--primary-orange);
}

/* Options */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--light-gray);
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.option-item:hover {
    border-color: var(--primary-orange);
    background-color: var(--light-orange);
}

.option-item input[type="checkbox"] {
    margin-right: 0.75rem;
    transform: scale(1.2);
    accent-color: var(--primary-orange);
}

.option-item label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
}

/* Input groups */
.input-group-custom {
    margin-top: 1rem;
}

.input-group-custom label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.input-group-custom input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.input-group-custom input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Tabs */
.nav-pills .nav-link {
    background-color: transparent;
    border: 2px solid var(--border-gray);
    color: var(--dark-text);
    font-weight: 500;
    margin-right: 0.5rem;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.nav-pills .nav-link:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background-color: var(--light-orange);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--light-gray);
    border-top: 1px solid var(--border-gray);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

/* Modal enhancements */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: var(--primary-orange);
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    font-weight: 600;
}

.modal-footer {
    border-top: 1px solid var(--border-gray);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container-fluid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .header .navbar-brand {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .header .navbar-brand img {
        max-width: 150px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header .subtitle {
        font-size: 1rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        max-width: 300px;
    }
    
    .step-number {
        margin-right: 1rem;
        margin-bottom: 0;
        min-width: 50px;
    }
    
    .step-description {
        max-width: none;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.hidden {
    display: none !important;
}

/* Additional enhancements */
.step-content {
    flex: 1;
}

.form-section:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary-orange);
    border-color: var(--secondary-orange);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.list-group-item {
    border: 1px solid var(--border-gray);
    border-radius: 4px !important;
    margin-bottom: 0.5rem;
    padding: 1rem;
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: var(--light-orange);
}

/* Loading states */
.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus states */
.input-group-custom.focused input {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.input-group-custom.has-value label {
    color: var(--primary-orange);
    font-weight: 600;
}

/* Footer styles from Scytales */
.roboto-condensed-200 {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.roboto-condensed-300 {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.roboto-condensed-400 {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.roboto-condensed-600 {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.contactLinks {
    color: white;
    font-size: 13px;
    text-decoration: none;
}

.contactLinks:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

.btnContact {
    background-color: black;
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
}

.btnContact:hover {
    background-color: var(--primary-orange);
    color: white;
}

footer {
    background-color: black;
    color: white;
}

.fotColumn {
    flex-wrap: wrap;
}

.store {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .fotColumn {
        flex-direction: column;
        text-align: center;
    }
    
    .fotColumn > div {
        margin-bottom: 1rem;
    }
    
    .store {
        width: 150px;
    }
}

/* Grid card styles for document types and sample requests */
.bigCard {
    box-shadow: 4px 4px 4px 5px #00000021;
    background-color: #fff;
    border-radius: 1rem;
    margin: 0em 3rem;
    padding: 1rem;
    transition: 0.3s;
}

.scenarioCard {
    background-color: #efefef;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.1s;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scenarioCard:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.roboto-condensed-800 {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

.document-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.sample-request-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.document-card {
    background-color: #efefef;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 1.5rem;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background-color: var(--light-orange);
}

.document-card.active {
    background-color: var(--primary-orange);
    color: white;
}

.document-card.active:hover {
    background-color: var(--secondary-orange);
}

.document-video {
    width: 100%;
    border-radius: 0.8rem;
    display: block;
    margin-bottom: 1rem;
    height: 150px;
    object-fit: cover;
}

.document-card.active .document-video {
    opacity: 0.9;
}

.document-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-orange);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-card.active .document-icon {
    color: white;
}

.request-card {
    background-color: #efefef;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 1.5rem;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

.request-card:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background-color: var(--light-orange);
}

.request-video {
    width: 100%;
    border-radius: 0.8rem;
    display: block;
    margin-bottom: 0.5rem;
    height: 100px;
    object-fit: cover;
}

.request-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.request-icon i {
    font-size: 3rem;
}

.request-icon i + i {
    font-size: 2.5rem; /* Slightly smaller for multiple icons */
}

.request-card:hover .request-icon {
    color: var(--primary-orange);
    opacity: 1;
    transform: scale(1.1);
}

/* Big Card Container - Based on temp_page.html design */
.bigCard {
    box-shadow: 4px 4px 4px 5px #00000021;
    background-color: #fff;
    border-radius: 1rem;
    margin: 0em 3rem;
    padding: 1rem;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .bigCard {
        margin: 0em 1rem;
    }
}

.step-container {
    display: none;
    margin: 0;
    padding: 0;
}

.step-container.active {
    display: block;
}

/* Icons for different document types */
.document-icon.mdl::before {
    content: "🚗";
}

.document-icon.transport::before {
    content: "🚚";
}

.document-icon.pid::before {
    content: "🆔";
}

.document-icon.photoid::before {
    content: "📷";
}

.document-icon.health::before {
    content: "🏥";
}

.document-icon.education::before {
    content: "🎓";
}

.document-icon.default::before {
    content: "📄";
}

/* Request icons - Monochrome professional icons */
.request-icon.age::before {
    content: "�";
}

.request-icon.portrait::before {
    content: "�";
}

.request-icon.identity::before {
    content: "🆔";
}

.request-icon.driving::before {
    content: "🚗";
}

.request-icon.address::before {
    content: "📍";
}

.request-icon.birth::before {
    content: "📅";
}

.request-icon.complete::before {
    content: "📋";
}

.request-icon.default::before {
    content: "�";
}

@media (max-width: 768px) {
    .bigCard {
        margin: 0 1rem;
        padding: 0.5rem;
    }
    
    .document-type-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sample-request-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .document-card {
        min-height: 150px;
        height: auto;
        padding: 1rem;
        overflow: hidden;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .document-card h4 {
        font-size: 0.9rem !important;
        line-height: 1.2;
        margin-bottom: 0.3rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .document-card p {
        font-size: 0.7rem !important;
        line-height: 1.1;
        margin: 0 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .request-card {
        min-height: 120px;
        height: auto;
        padding: 1rem;
        overflow: hidden;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .request-card h5 {
        font-size: 0.9rem !important;
        line-height: 1.2;
        margin: 0.3rem 0 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .request-card p {
        font-size: 0.7rem !important;
        line-height: 1.1;
        margin: 0 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Additional styles from temp_page.html */
.scyGrayBack {
    background-color: #f9f9f9;
}

.scyColor {
    color: #EB6823 !important;
}

.scyCard {
    box-shadow: 0px 4px 4px 0px #00000040;
    background-color: white;
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.5s;
}

.scyCard:hover {
    transform: translateY(-7px);
}

.roboto-condensed-500 {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.respImage {
    max-width: 100%;
    height: auto;
    transition: all 0.5s;
}

.respImage:hover {
    transform: translateY(-5px);
}

/* Results Container Styling */
.results-container {
    padding: 2rem 0;
}

.results-container .scyCard {
    max-height: 500px;
    overflow-y: auto;
    padding: 1.5rem;
}

.results-container .list-group-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 0;
}

.results-container .list-group-item:last-child {
    border-bottom: none;
}

.results-container .fw-bold {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

#results-header {
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 0.5rem;
}

/* Button Styles - Based on temp_page.html */
.btn-light {
    color: #EB6823;
    padding: 8px 25px;
    border-radius: 1.55rem;
    border: 1px solid #EB6823;
    background-color: transparent;
}

.btn-light:hover {
    color: #ffffff;
    background-color: #e66527;
    border-color: #e56527;
}

.btnOrange {
    background-color: #EB6823;
    color: white;
    border: 1px solid #EB6823;
    transition: all 0.3s;
    padding: 8px 25px;
    border-radius: 1.55rem;
}

.btnOrange:hover {
    background-color: white;
    color: #EB6823;
    border: 1px solid #EB6823;
}

.btnContact {
    background-color: black;
    color: #EB6823;
    border: 1px solid #EB6823;
    padding: 8px 25px;
    border-radius: 1.55rem;
}
