/* App Instructions Page Styles */

/* Hero Section */
.instructions-hero {
    background: linear-gradient(135deg, #212550 0%, #2d3a7a 100%);
    padding: 80px 0 60px;
    color: #fff;
}

.instructions-hero .section-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.instructions-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.instructions-hero .hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* Quick Links Section */
.quick-links-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.quick-links-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.quick-links-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #212550;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.quick-link:hover {
    background: #2d3a7a;
    color: #fff;
    transform: translateY(-2px);
}

.quick-link i {
    font-size: 0.85rem;
}

/* Instruction Sections */
.instruction-section {
    padding: 60px 0;
}

.instruction-section.alt-bg {
    background: #f8f9fa;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #212550;
    color: #fff;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212550;
    margin: 0;
}

/* Instruction Cards */
.instruction-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.alt-bg .instruction-card {
    background: #fff;
}

.intro-text {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Instruction Steps */
.instruction-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.instruction-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.instruction-step:first-child {
    padding-top: 0;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    color: #212550;
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #212550;
    margin-bottom: 8px;
}

.step-content p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.step-content p:last-child {
    margin-bottom: 0;
}

/* URL Box */
.url-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f1f3f5;
    padding: 12px 18px;
    border-radius: 8px;
    margin-top: 5px;
}

.url-box code {
    font-size: 1rem;
    color: #212550;
    font-weight: 600;
}

.copy-btn {
    background: #212550;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #2d3a7a;
}

.copy-btn.copied {
    background: #28a745;
}

/* Tip Box */
.tip-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #e3f2fd;
    padding: 15px 18px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #2196f3;
}

.tip-box i {
    color: #2196f3;
    font-size: 1.1rem;
    margin-top: 2px;
}

.tip-box span {
    color: #1565c0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tip-box.highlight {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.tip-box.highlight i {
    color: #ff9800;
}

.tip-box.highlight span {
    color: #e65100;
}

/* Device Instructions */
.device-instructions {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px dashed #eee;
}

.device-instructions h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #212550;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.device-instructions h5 i {
    font-size: 1.1rem;
}

.device-instructions p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding-left: 28px;
}

.device-instructions p:last-child {
    margin-bottom: 0;
}

/* Navigation Menu Preview */
.nav-menu-preview {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.nav-menu-preview h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    color: #333;
    font-size: 0.95rem;
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list li i {
    color: #212550;
    width: 20px;
    text-align: center;
}

/* Simple Steps */
.simple-steps {
    padding-left: 20px;
    margin: 10px 0 0;
}

.simple-steps li {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}

.simple-steps li:last-child {
    margin-bottom: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #333;
}

.feature-list li i {
    color: #28a745;
    font-size: 0.9rem;
}

/* Parents Section */
.parents-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.parents-header .step-number {
    background: #2e7d32;
    font-size: 1.2rem;
}

/* Help Section */
.help-section {
    padding: 60px 0;
    background: #212550;
}

.help-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.help-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.help-icon i {
    font-size: 2rem;
    color: #212550;
}

.help-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212550;
    margin-bottom: 15px;
}

.help-card > p {
    color: #555;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #333;
}

.contact-list li:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .instructions-hero {
        padding: 60px 0 40px;
    }

    .instructions-hero .hero-title {
        font-size: 2rem;
    }

    .quick-links {
        flex-direction: column;
    }

    .quick-link {
        justify-content: center;
    }

    .instruction-section {
        padding: 40px 0;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .instruction-card {
        padding: 20px;
    }

    .instruction-step {
        flex-direction: column;
        gap: 15px;
    }

    .step-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .url-box {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .device-instructions p {
        padding-left: 0;
    }

    .help-card {
        padding: 30px 20px;
    }
}
