/* Mobile App Style CSS - v1.0 */
/* Debug: CSS file loaded successfully */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Loading Test - This rule helps detect if CSS is loaded */
.css-loaded-test::before {
    content: "CSS_LOADED";
    display: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
.app-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 20px 30px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.app-header h1 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.app-header .subtitle {
    font-size: 14px;
    text-align: center;
    opacity: 0.9;
    margin-top: 5px;
}

/* Container */
.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: white;
    min-height: 100vh;
}

.content {
    padding: 20px;
    background-color: white;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

h2 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #667eea;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

h3 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #495057;
}

p {
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* Lists */
ul,
ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
}

.card-header h3 {
    margin: 0;
    color: #495057;
    font-size: 18px;
}

.card-body {
    padding: 20px;
}

/* FAQ Specific Styles */
.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.faq-question {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 18px 20px;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: #495057;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    color: white;
}

/* Highlights */
.highlight {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #667eea;
}

.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #ff9800;
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid #c8e6c9;
}

.contact-info h3 {
    color: #2e7d32;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 8px;
    color: #388e3c;
}

/* Links */
a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
}

.footer p {
    margin: 0;
    opacity: 0.9;
    color: white;
}

/* CSS Loading Indicator for debugging */
.css-debug-info {
    position: fixed;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 9999;
    display: none;
    /* Hidden by default, can be shown for debugging */
}

.css-debug-info::before {
    content: "✅ CSS Loaded";
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header {
        padding: 15px 15px 25px 15px;
    }

    .app-header h1 {
        font-size: 20px;
    }

    .content {
        padding: 15px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    p {
        font-size: 15px;
    }

    .faq-question {
        padding: 15px;
        font-size: 15px;
    }

    .faq-answer.active {
        padding: 15px;
    }
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

/* Fallback styles for when CSS doesn't load properly */
@media screen {
    body {
        font-family: Arial, sans-serif !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* End of CSS file - if you see this comment, the entire file loaded */