/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link-m,
.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link-m:hover,
.nav-link:hover {
    color: #667eea;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px;
    margin-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image i {
    font-size: 15rem;
    opacity: 0.3;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

/* Tools Grid */
.tools-content {
    padding: 80px 0;
}

.tools-filters {
    margin-bottom: 3rem;
}

.filter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
}

.search-box button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
}

.category-filter select {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 200px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.tool-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tool-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tool-content {
    padding: 1.5rem;
}

.tool-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.tool-features ul {
    list-style: none;
    margin: 1rem 0;
}

.tool-features li {
    padding: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.tool-features i {
    color: #28a745;
    margin-right: 0.5rem;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price-tag {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.price-tag.free {
    background: #28a745;
}

.tool-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.tool-actions .btn {
    flex: 1;
    text-align: center;
}

/* Tool Detail Page */
.tool-detail {
    padding: 100px 0;
    margin-top: 0px;
}

.breadcrumb {
    margin-bottom: 1rem;
    color: #666;
}

.breadcrumb-cr {
    margin-top: 6rem;
    color: #666;
}

.breadcrumb-cr a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.tool-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.tool-tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.tool-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.free {
    background: #28a745;
    color: white;
}

.badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.badge.category {
    background: #e9ecef;
    color: #666;
}

.pricing-info {
    text-align: center;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.price-note {
    font-size: 0.9rem;
    color: #666;
}

.tool-content-grid {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap; /* for mobile responsiveness */
}

.tool-main {
    flex: 3;
    min-width: 300px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.screenshot {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-list, .requirements-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li, .requirements-list li {
    padding: 0.5rem 0;
    color: #666;
}

.feature-list i {
    color: #28a745;
    margin-right: 0.5rem;
}

.sidebar-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.info-list {
    margin-top: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.label {
    font-weight: 500;
    color: #333;
}

.value {
    color: #666;
}

.included-list {
    list-style: none;
    margin-top: 1rem;
}

.included-list li {
    padding: 0.25rem 0;
    color: #666;
}

.included-list i {
    color: #28a745;
    margin-right: 0.5rem;
}

/* Skills Page */
.skills-content {
    padding: 80px 0;
}

.skills-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.skill-features ul {
    list-style: none;
    margin: 1rem 0;
}

.skill-features li {
    padding: 0.25rem 0;
    color: #666;
}

.skill-features i {
    color: #28a745;
    margin-right: 0.5rem;
}

.skill-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.skill-actions .btn {
    flex: 1;
    text-align: center;
}

/* Code Preview */
.code-preview {
    margin: 4rem 0;
}

.code-container {
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.code-header {
    background: #2d2d2d;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.code-block {
    padding: 2rem;
    color: #f8f8f2;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
}

/* Learning Path */
.learning-path {
    margin: 4rem 0;
    text-align: center;
}

.path-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* Pricing */
.pricing-preview {
    padding: 100px 0;
}

.pricing-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #666;
}

.pricing-features i {
    color: #28a745;
    margin-right: 0.5rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

/* Benefits & Features */
.benefits-section, .premium-benefits {
    margin: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    margin-bottom: 0.5rem;
}

/* Guarantee Section */
.guarantee-section {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.guarantee-content i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

/* Reviews */
.reviews-summary {
    margin-bottom: 2rem;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.rating-stars {
    color: #ffd700;
}

.reviews-list {
    margin-top: 2rem;
}

.review-item {
    border: 1px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-rating {
    color: #ffd700;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p, .footer-section ul {
    color: #ccc;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        align-items: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image i {
        font-size: 8rem;
    }

    .features-grid,
    .tools-grid,
    .skills-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .tool-content-grid {
        flex-direction: column;
    }

    .tool-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .filter-form {
        flex-direction: column;
    }

    .search-box {
        min-width: 100%;
    }

    .path-steps {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .tool-actions {
        flex-direction: column;
    }

    .btn {
        padding: 10px 20px;
    }
}

/* Course Detail Page Styles */
.course-detail {
    padding: 100px 0;
    margin-top: 0px;
}

.course-header {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.course-meta {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.meta-item i {
    color: #667eea;
}

.course-stats {
    margin: 1rem 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #ffd700;
}

.course-preview-video {
    position: sticky;
    top: 100px;
}

.video-thumbnail {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: #667eea;
    transform: translate(-50%, -50%) scale(1.1);
}

.course-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-section {
    text-align: center;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.price-note {
    color: #666;
    font-size: 0.9rem;
}

.course-content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.section {
    margin-bottom: 3rem;
}

.learning-outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.outcome-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.outcome-item i {
    color: #28a745;
    font-size: 1.2rem;
}

.sample-videos {
    display: grid;
    gap: 1rem;
}

.video-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.video-thumbnail-small {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.video-thumbnail-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
}

/* Skills Card Updates */
.skill-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.course-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-level, .course-duration {
    position: absolute;
    top: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.course-level {
    left: 10px;
}

.course-duration {
    right: 10px;
}

.course-stats {
    margin: 1rem 0;
}

.course-highlights ul {
    list-style: none;
    margin: 1rem 0;
}

.course-highlights li {
    padding: 0.25rem 0;
    color: #666;
}

.course-highlights i {
    color: #28a745;
    margin-right: 0.5rem;
}

.course-price {
    margin: 1rem 0;
    text-align: center;
}

.course-preview {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    text-align: center;
}

.preview-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Syllabus Page Styles */
.syllabus-page {
    padding: 100px 0;
    margin-top: 70px;
}

.syllabus-header {
    text-align: center;
    margin-bottom: 3rem;
}

.course-summary {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.summary-item i {
    color: #667eea;
}

.syllabus-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.modules-list {
    margin: 2rem 0;
}

.module-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.module-header {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.module-header:hover {
    background: #e9ecef;
}

.module-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.module-content {
    display: none;
    padding: 1.5rem;
}

.module-topics ul {
    list-style: none;
    margin: 1rem 0;
}

.module-topics li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.module-topics i {
    color: #667eea;
}

.prerequisites-section, .tools-section {
    margin: 3rem 0;
}

.tools-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.tool-item i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.progress-overview {
    text-align: center;
    padding: 2rem;
}

.progress-circle {
    width: 80px;
    height: 80px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.progress-percent {
    font-weight: 700;
    color: #667eea;
}

.btn-full {
    width: 100%;
    margin-bottom: 0.5rem;
}

.instructor-info {
    text-align: center;
    padding: 1rem;
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.instructor-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    color: #667eea;
    font-size: 1.2rem;
}

.certificate-info {
    text-align: center;
    padding: 1rem;
}

.certificate-info i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

/* Watch Course Page Styles */
.watch-course {
    margin-top: 70px;
}

.container-fluid {
    max-width: 100%;
    padding: 0;
}

.course-player-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    min-height: calc(100vh - 70px);
}

.video-section {
    background: #000;
    color: white;
    padding: 2rem;
}

.video-player {
    margin-bottom: 2rem;
}

.video-info {
    margin-bottom: 2rem;
}

.video-meta {
    display: flex;
    gap: 2rem;
    color: #ccc;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.video-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-bottom: 2rem;
}

.control-buttons {
    display: flex;
    gap: 1rem;
}

.video-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    background: none;
    border: 1px solid #666;
    color: #ccc;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.course-description {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
}

.course-stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
}

.stat-item i {
    color: #667eea;
}

.course-sidebar {
    background: white;
    border-left: 1px solid #e9ecef;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.course-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #667eea;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    display: block;
}

.video-playlist {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.playlist-videos {
    margin-top: 1rem;
}

.playlist-item {
    border-bottom: 1px solid #f0f0f0;
}

.playlist-item.active {
    background: #f8f9fa;
}

.playlist-link {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.playlist-link:hover {
    background: #f8f9fa;
}

.playlist-item .video-thumbnail {
    position: relative;
    width: 120px;
    height: 68px;
    border-radius: 4px;
    overflow: hidden;
}

.course-actions {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.course-info-sidebar {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.notes-section {
    padding: 2rem;
}

.notes-container textarea {
    width: 100%;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    resize: vertical;
}

/* Enroll Course Page Styles */
.enroll-course {
    padding: 100px 0;
    margin-top: 70px;
}

.enroll-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.course-summary-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.course-image img {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.payment-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.terms-checkbox input {
    width: auto;
}

.order-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.item-type {
    color: #666;
    font-size: 0.9rem;
}

.item-price {
    font-weight: 600;
    color: #667eea;
}

.price-breakdown {
    margin-top: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.price-row.total {
    font-weight: 700;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
    color: #667eea;
}

.payment-security {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.security-item i {
    color: #28a745;
}

.whats-included {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.whats-included ul {
    list-style: none;
    margin-top: 1rem;
}

.whats-included li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #666;
}

.whats-included i {
    color: #667eea;
    width: 16px;
}

.guarantee-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.guarantee-badge {
    text-align: center;
}

.guarantee-badge i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.guarantee-badge h4 {
    color: #333;
    margin-bottom: 1rem;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .course-header,
    .course-content-grid,
    .syllabus-content,
    .course-player-layout,
    .enroll-content {
        grid-template-columns: 1fr;
    }

    .course-preview-video {
        position: static;
        order: -1;
    }
    
    .payment-form {
        padding: 0;
    }

    .video-section {
        padding: 1rem;
    }

    .course-sidebar {
        max-height: none;
        border-left: none;
        border-top: 1px solid #e9ecef;
    }

    .course-summary-card {
        flex-direction: column;
        text-align: center;
    }

    .course-image img {
        width: 100%;
        max-width: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .course-meta,
    .video-meta,
    .course-stats-row {
        flex-direction: column;
        gap: 1rem;
    }

    .video-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .course-summary {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Purchase Tool Page Styles */
.purchase-tool {
    padding: 100px 0;
}

.purchase-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.tool-sidebar {
    flex: 1;
    min-width: 250px;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px; /* optional: keeps sidebar visible while scrolling */
}

.tool-summary-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 3rem;
    position: relative;
    flex-wrap: wrap;
}

.tool-image {
    position: relative;
}

.tool-image img {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.tool-highlights ul {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.tool-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.tool-highlights i {
    color: #28a745;
}

.payment-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.alternative-payments {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.payment-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.payment-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.payment-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.payment-btn.paypal {
    color: #0070ba;
}

.payment-btn.stripe {
    color: #635bff;
}

.payment-btn.apple-pay {
    color: #000;
}

.customer-reviews {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.review-summary {
    margin-bottom: 1.5rem;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.stars {
    color: #ffd700;
}

.review-count {
    color: #666;
    font-size: 0.9rem;
}

.recent-review {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.review-text {
    font-style: italic;
    margin-bottom: 0.5rem;
    color: #333;
}

.reviewer {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Form Styles Enhancement */
.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

/* Responsive for Purchase Page */
@media (max-width: 768px) {
    .purchase-content {
        grid-template-columns: 1fr;
    }

    .tool-summary-card {
        flex-direction: column;
        text-align: center;
    }

    .tool-image img {
        width: 100%;
        max-width: 300px;
    }

    .tool-highlights ul {
        grid-template-columns: 1fr;
    }

    .payment-buttons {
        flex-direction: column;
    }

    .payment-btn {
        width: 100%;
    }
}

/* Enhanced Tool Detail Page Styles */
.installation-guide {
    margin: 3rem 0;
}

.guide-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.step-content code {
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Reviews Enhancement */
.review-item {
    border: 1px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.reviewer-info {
    flex: 1;
}

.reviewer-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.review-rating {
    color: #ffd700;
    display: inline-block;
    margin-right: 1rem;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

.review-helpful {
    margin-top: 1rem;
}

.helpful-btn {
    background: none;
    border: 1px solid #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.helpful-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
}

/* Write Review Form */
.write-review {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.rating-input {
    margin-bottom: 1.5rem;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ddd;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffd700;
}

.review-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
}

/* Compatibility List */
.compatibility-list {
    margin-top: 1rem;
}

.compat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.compat-item:last-child {
    border-bottom: none;
}

.compat-item i {
    font-size: 1.2rem;
    color: #667eea;
    width: 20px;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Guarantee Info */
.guarantee-info {
    text-align: center;
    padding: 1rem;
    background: #f0f8ff;
    border-radius: 8px;
}

.guarantee-info i {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 0.5rem;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
        text-align: center;
    }

    .review-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .reviewer-info {
        text-align: center;
    }

    .star-rating {
        justify-content: center;
    }

    .share-buttons {
        justify-content: center;
    }

    .compat-item {
        justify-content: center;
    }
}

/* Flash Messages */
.flash-messages {
    margin: 2rem 0;
}

.flash-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flash-message.flash-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-message.flash-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.flash-message.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Download Stats */
.download-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.stat-item i {
    color: #667eea;
}

/* Enhanced Tool Actions */
.free-tool-actions {
    text-align: center;
}

.download-btn {
    position: relative;
    overflow: hidden;
}

.download-btn .file-size {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.download-note {
    margin-top: 0.5rem;
    color: #28a745;
    font-size: 0.9rem;
}

.paid-tool-actions {
    text-align: center;
    justify-items: center;
}

.price-usd {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.payment-methods-preview {
    margin-top: 1rem;
}

.payment-methods-preview span {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    display: block;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.payment-icons i {
    width: 30px;
    height: 30px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    border: 1px solid #e9ecef;
}

/* Payment Methods List */
.payment-methods-list {
    margin-top: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.payment-method:last-child {
    border-bottom: none;
}

.payment-method i {
    color: #667eea;
    width: 20px;
}

/* Enhanced Payment Form */
.payment-options {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: #667eea;
    background: #f8f9ff;
}

.payment-label {
    display: flex;
    padding: 1.5rem;
    cursor: pointer;
    gap: 1rem;
    align-items: flex-start;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.payment-label:hover {
    background: #f8f9fa;
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: #667eea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.payment-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.payment-details {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.payment-details p {
    margin-bottom: 0.5rem;
    color: #333;
}

.instructions {
    color: #666 !important;
    font-style: italic;
}

/* Process Steps */
.process-steps {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.steps {
    margin-top: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    flex-direction: column;
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #e9ecef;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text {
    color: #666;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25d366 !important;
    color: white !important;
    border-color: #25d366 !important;
}

.whatsapp-btn:hover {
    background: #128c7e !important;
    border-color: #128c7e !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.close {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 2rem;
}

.payment-info-modal {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.payment-info-modal p {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selectable {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 600;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.copy-btn:hover {
    background: #5a6fd8;
}

.whatsapp-redirect {
    text-align: center;
    padding: 1.5rem;
    background: #f0f8ff;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* Verification Page */
.verify-payment {
    padding: 100px 0;
    margin-top: 70px;
}

.verification-content {
    max-width: 800px;
    margin: 0 auto;
}

.verification-header {
    text-align: center;
    margin-bottom: 3rem;
}

.verification-header i {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

.order-details {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.order-info {
    display: grid;
    gap: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.label {
    font-weight: 600;
    color: #333;
}

.value {
    color: #666;
}

.status-pending {
    color: #ffc107;
    font-weight: 600;
}

.status-completed {
    color: #28a745;
    font-weight: 600;
}

.verification-steps {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.verification-steps .steps {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.verification-steps .step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 1rem;
}

.verification-steps .step.completed {
    color: #28a745;
}

.verification-steps .step.active {
    color: #667eea;
}

.verification-steps .step i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.whatsapp-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
    text-align: center;
}

.whatsapp-info {
    margin-top: 2rem;
}

.whatsapp-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.whatsapp-number i {
    color: #25d366;
    font-size: 1.5rem;
}

.download-section {
    background: #d4edda;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #c3e6cb;
    margin-bottom: 2rem;
    text-align: center;
}

.support-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.support-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.support-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    min-width: 150px;
}

.support-option:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.support-option i {
    font-size: 2rem;
    color: #667eea;
}

/* Course Stats */
.course-stats {
    margin: 1.5rem 0;
}

.course-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.course-stats .stat-item i {
    color: #667eea;
    width: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .purchase-content {
        grid-template-columns: 1fr;
    }

    .tool-summary-card,
    .course-summary-card {
        flex-direction: column;
        text-align: center;
    }

    .tool-image img,
    .course-image img {
        width: 100%;
        max-width: 300px;
    }

    .payment-label {
        flex-direction: column;
        text-align: center;
    }

    .verification-steps .steps {
        flex-direction: column;
        gap: 1rem;
    }

    .support-options {
        flex-direction: column;
        gap: 1rem;
    }

    .download-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .payment-icons {
        flex-wrap: wrap;
    }
}

/* Enhanced Skills Page Styles */
.course-price {
    text-align: center;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.course-price .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.course-price .price-note {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
}

.course-price .price-usd {
    color: #888;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.25rem;
}

.course-benefits {
    margin: 4rem 0;
    text-align: center;
}

.course-benefits h2 {
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    margin-bottom: 1rem;
    color: #333;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Course Actions Enhancement */
.skill-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.skill-actions .btn {
    flex: 1;
    text-align: center;
}

.course-preview {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    margin-top: 0;
}

.preview-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.preview-link:hover {
    color: #f0f0f0;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .course-price .price {
        font-size: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .skill-actions {
        flex-direction: column;
    }
}

/* Syllabus Preview Styles */
.syllabus-preview {
    margin-top: 2rem;
}

.module-preview {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #667eea;
}

.module-preview h4 {
    margin-bottom: 0.75rem;
    color: #333;
}

.module-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.module-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.module-meta i {
    color: #667eea;
}

.topics-preview {
    list-style: none;
    margin: 0;
}

.topics-preview li {
    padding: 0.25rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.topics-preview li:before {
    content: "•";
    color: #667eea;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.syllabus-more {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Course actions enhancement */
.course-actions .btn-full {
    width: 100%;
    margin-bottom: 0.75rem;
}

/* Price display in course detail */
.course-actions .price-usd {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Payment methods preview in sidebar */
.payment-methods-preview {
    margin-top: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.payment-method:last-child {
    border-bottom: none;
}

.payment-method i {
    color: #667eea;
    width: 18px;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .course-header {
        grid-template-columns: 1fr;
    }

    .course-preview-video {
        order: -1;
    }

    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .module-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .syllabus-more {
        padding: 1rem;
    }
}
/* Authentication Pages */
.auth-page {
    justify-items: center;
    padding: 100px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
}

.auth-content {
    max-width: 1200px;
    margin: 0 ate-columns: 1fr 1fr;
    gap: 4rem; 20px;
    align-items: center;
}

.auth-form-container {
    width: 600px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: #333;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.social-login {
    margin-top: 2rem;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 1;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-benefits {
    padding: 2rem;
}

.auth-benefits h3 {
    margin-bottom: 2rem;
    color: #333;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-benefits .benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.auth-benefits .benefit-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.25rem;
    width: 24px;
}

.auth-benefits .benefit-item h4 {
    margin-bottom: 0.25rem;
    color: #333;
}

.auth-benefits .benefit-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Navigation Updates */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 0.75rem;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #333;
}

.user-btn:hover {
    background: #f8f9fa;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
}

.dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 0.5rem 0;
}

/* Hero Auth CTA */
.hero-auth-cta {
    margin-top: 2rem;
    text-align: center;
}

.auth-prompt {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.auth-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cta-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.cta-separator {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Account Orders Page */
.account-page {
    padding: 100px 0;
    margin-top: 70px;
}

.account-header {
    text-align: center;
    margin-bottom: 3rem;
}

.orders-grid {
    display: grid;
    gap: 2rem;
}

.order-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.order-id strong {
    font-size: 1.1rem;
    color: #333;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
}

.order-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-details h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.order-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.item-type {
    background: #e9ecef;
    color: #666;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.amount {
    font-weight: 600;
    color: #667eea;
}

.payment-method {
    color: #666;
    font-size: 0.9rem;
}

.order-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.no-orders {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-orders i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Admin Layout */
.admin-layout {
    background: #f5f5f5;
}

.admin-header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.admin-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.admin-user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-width: 150px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.admin-user:hover .admin-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.admin-user-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.admin-user-menu a:hover {
    background: #f8f9fa;
}

.admin-wrapper {
    display: flex;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid #e9ecef;
    padding: 2rem 0;
}

.admin-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-bottom: 0.25rem;
}

.nav-link-m,
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link-m:hover,
.nav-link-m.active,
.nav-link:hover,
.nav-link.active {
    background: #f8f9fa;
    color: #667eea;
    border-right: 3px solid #667eea;
}

.nav-link-m i,
.nav-link i {
    width: 16px;
    text-align: center;
}

.admin-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.admin-page {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.page-header h1 {
    margin: 0;
    color: white;
}

.page-actions {
    display: flex;
    gap: 1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.8rem;
    color: #333;
}

.stat-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dashboard-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.3rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.action-card:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.action-card i {
    font-size: 1.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.activity-item i {
    color: #667eea;
    width: 16px;
}

.activity-item small {
    margin-left: auto;
    color: #666;
    font-size: 0.8rem;
}

/* Admin Tables */
.admin-filters {
    margin-bottom: 2rem;
}

.admin-table-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

.user-info,
.tool-info,
.course-info,
.customer-info,
.item-info,
.method-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-direction: column;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.method-info i {
    font-size: 1.2rem;
    color: #667eea;
    width: 20px;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.admin {
    background: #667eea;
    color: white;
}

.badge.user {
    background: #e9ecef;
    color: #666;
}

.badge.active {
    background: #d4edda;
    color: #155724;
}

.badge.inactive {
    background: #f8d7da;
    color: #721c24;
}

.badge.free {
    background: #28a745;
    color: white;
}

.badge.category {
    background: #e9ecef;
    color: #666;
}

.badge.level-beginner {
    background: #d4edda;
    color: #155724;
}

.badge.level-intermediate {
    background: #fff3cd;
    color: #856404;
}

.badge.level-advanced {
    background: #f8d7da;
    color: #721c24;
}

.badge.tool,
.badge.course {
    background: #e9ecef;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-display .stars {
    color: #ffd700;
}

/* Modal Updates for Admin */
.modal-content.large-modal {
    max-width: 800px;
}

.method-details {
    font-size: 0.9rem;
    color: #666;
}

.method-details div {
    margin-bottom: 0.25rem;
}

/* Flash Message Updates */
.flash-message {
    position: relative;
}

.flash-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
}

.flash-close:hover {
    opacity: 1;
}

/* Responsive Design for Auth and Admin */
@media (max-width: 768px) {
    .auth-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .auth-form-container {
        width: auto;
        padding: 2rem;
    }

    .auth-benefits {
        order: -1;
    }

    .nav-auth {
        display: none;
    }

    .hero-auth-cta {
        margin-top: 1.5rem;
    }

    .auth-cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-link {
        justify-content: center;
    }

    .admin-wrapper {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        order: 2;
    }

    .admin-content {
        order: 1;
        padding: 1rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .admin-table-container {
        overflow-x: auto;
    }

    .order-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .order-actions {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .auth-form-container {
        padding: 1.5rem;
    }

    .admin-content {
        padding: 0.5rem;
    }

    .admin-header-content {
        padding: 0 1rem;
    }

    .admin-logo a {
        font-size: 1.2rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
}
/* Admin Table Thumbnails */
.table-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 0.75rem;
}

.table-thumbnail-placeholder {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    margin-right: 0.75rem;
}

.screenshot-count {
    font-size: 0.9rem;
    color: #666;
}

.content-stats {
    font-size: 0.8rem;
    color: #666;
}

/* Tool Detail Pages */
.tool-detail-grid,
.course-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 600;
    color: #333;
}

.info-row .value {
    color: #666;
}

.description-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
}

.long-description {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    line-height: 1.6;
}

.thumbnail-card {
    text-align: center;
}

.tool-thumbnail,
.course-thumbnail {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.no-thumbnail {
    padding: 3rem;
    text-align: center;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-thumbnail i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Screenshots and Images Sections */
.screenshots-section,
.images-section,
.modules-section,
.videos-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.screenshots-grid,
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.screenshot-card,
.image-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.screenshot-card:hover,
.image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.screenshot-card img,
.image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.screenshot-info,
.image-info {
    padding: 1rem;
}

.screenshot-caption,
.image-caption {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.no-screenshots {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-screenshots i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Image Categories */
.images-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.image-category h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* Modules Section */
.modules-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    background: #f8f9fa;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.module-header h3 {
    margin: 0;
    color: #333;
}

.module-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.module-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.module-topics {
    background: white;
    padding: 1rem;
    border-radius: 6px;
}

.module-topics h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.module-topics ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.module-topics li {
    padding: 0.25rem 0;
    color: #666;
}

/* Videos Section */
.videos-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.video-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-info {
    padding: 1rem;
}

.video-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.video-info p {
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 0.9rem;
}

.video-actions {
    padding: 0 1rem 1rem;
    display: flex;
    gap: 0.5rem;
}

/* Edit Forms */
.edit-form-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-form {
    max-width: 800px;
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    margin-bottom: 1.5rem;
    color: #333;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

.form-errors {
    margin-top: 0.25rem;
}

.form-errors .error {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
}

.current-thumbnail {
    text-align: center;
    margin-bottom: 1rem;
}

.current-thumbnail img {
    max-width: 200px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.current-thumbnail p {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tool-detail-grid,
    .course-detail-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid,
    .images-grid,
    .videos-list {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .module-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .form-actions {
        flex-direction: column;
    }

    .tool-info,
    .course-info {
        align-items: flex-start;
    }

    .table-thumbnail {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .edit-form-container,
    .detail-section {
        padding: 1rem;
    }

    .info-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .video-actions {
        flex-direction: column;
    }
}
/* Image Guidelines */
.image-guidelines {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.image-guidelines h2 {
    margin-bottom: 1rem;
    color: white;
}

.size-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.size-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.size-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.size-note {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Upload Guidelines */
.upload-guidelines {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.guideline-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.guideline-item:last-child {
    margin-bottom: 0;
}

.guideline-item i {
    color: #667eea;
    width: 16px;
}

/* Tool Hero Image */
.tool-hero {
    margin-bottom: 3rem;
    text-align: center;
}

.tool-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Enhanced Screenshots Grid */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshot {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.screenshot-caption {
    padding: 1rem;
    background: white;
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.requirement-item i {
    font-size: 2rem;
    color: #667eea;
}

.requirement-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
}

.requirement-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Enhanced Reviews */
.user-reviews {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.reviews-summary {
    margin-bottom: 2rem;
    text-align: center;
}

.rating-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.stars-large {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.review-rating {
    color: #ffd700;
    margin-bottom: 0.25rem;
}

.review-date {
    color: #999;
    font-size: 0.85rem;
}

/* Image Modal */
.image-modal {
    z-index: 2000;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced Download Stats */
.download-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-weight: 500;
}

.stat-item i {
    color: #667eea;
    width: 16px;
}

/* Support Hours */
.support-hours {
    margin-top: 1rem;
    text-align: center;
}

.support-hours small {
    color: #28a745;
    font-weight: 500;
}

/* Image Info */
.image-info {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Professional Enhancements */
.description-content {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.tool-tagline {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-guidelines {
        padding: 1.5rem;
    }

    .size-guide {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .rating-overview {
        flex-direction: column;
        gap: 1rem;
    }

    .download-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .review-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
/* ==================== DASHBOARD STYLES ==================== */

/* User Avatar in Navigation */
.user-avatar-nav {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.user-btn:hover {
    background: #f8f9fa;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #667eea;
}

.dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 0.5rem 0;
}

.user-dropdown {
    position: relative;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
    .sidebar-toggle {
        display: flex !important;
    }

    .dashboard-sidebar {
        position: fixed !important;
        left: 0;
        top: 70px;
        height: calc(100vh - 70px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 998;
        width: 250px;
    }

    .dashboard-sidebar.active {
        transform: translateX(0);
    }

    .sidebar-close {
        display: flex;
    }

    .dashboard-header {
        flex-direction: column !important;
        text-align: center !important;
    }

    .header-actions {
        width: 100% !important;
        justify-content: center !important;
    }

    .order-detail-container {
        padding: 0 !important;
    }

    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .dashboard-main {
        padding: 1rem !important;
    }

    .purchased-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Flash Messages Styling */
.flash-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.flash-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.flash-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
}

.flash-close:hover {
    opacity: 1;
}

/* Profile Card Styles */
.profile-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-header {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.profile-user-info h2 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.user-email {
    margin: 0 0 0.25rem 0;
    color: #667eea;
    font-weight: 500;
}

.member-since {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.profile-form {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    margin-bottom: 1rem;
    color: #333;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: #333;
}

.form-control {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control:disabled {
    background: #f8f9fa;
    color: #666;
}

.form-help {
    color: #666;
    font-size: 0.85rem;
}

.account-details {
    padding: 2rem;
    border-top: 1px solid #e9ecef;
}

.account-details h3 {
    margin-bottom: 1rem;
    color: #333;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.detail-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.detail-item .label {
    display: block;
    font-weight: 600;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.detail-item .value {
    color: #333;
}

/* Security Cards */
.security-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.card-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.25rem;
}

.card-content {
    padding: 1.5rem;
}

/* Purchased Items */
.purchased-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.purchased-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.purchased-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.purchase-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.purchase-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.purchase-header h3 {
    margin: 0;
    color: #333;
}

.purchase-info {
    margin-bottom: 1.5rem;
}

.purchase-info p {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.purchase-actions {
    display: flex;
    gap: 0.75rem;
}

.purchase-actions .btn {
    flex: 1;
    text-align: center;
}

/* Continue Section */
.continue-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.continue-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.continue-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.continue-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.continue-card i {
    font-size: 2rem;
    opacity: 0.9;
}

.continue-card h3 {
    margin: 0;
    color: white;
}

.continue-card p {
    margin: 0;
    color: rgba(255,255,255,0.9);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    margin-bottom: 1rem;
}

/* Support Card */
.support-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.support-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.support-card h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.support-card p {
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
    }

    .header-content {
        text-align: center;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .profile-avatar-section {
        flex-direction: column;
        text-align: center;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .purchased-grid {
        grid-template-columns: 1fr;
    }

    .purchase-actions {
        flex-direction: column;
    }

    .continue-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }
}
/* Add to the end of static/css/style.css */

/* Password Strength Indicator */
.password-strength {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.strength-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

#strength-text {
    font-weight: 600;
}

.strength-none { color: #666; }
.strength-weak { color: #dc3545; }
.strength-fair { color: #ffc107; }
.strength-good { color: #17a2b8; }
.strength-strong { color: #28a745; }

.strength-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.strength-indicator {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.strength-indicator.none { background: #e9ecef; }
.strength-indicator.weak { background: #dc3545; }
.strength-indicator.fair { background: #ffc107; }
.strength-indicator.good { background: #17a2b8; }
.strength-indicator.strong { background: #28a745; }

/* Password Requirements */
.password-requirements {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.password-requirements h4 {
    margin: 0 0 0.75rem 0;
    color: #333;
}

.password-requirements ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.password-requirements li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.password-requirements i {
    color: #ccc;
    width: 16px;
}

.password-requirements li.met {
    color: #28a745;
}

.password-requirements li.met i {
    color: #28a745;
}

/* Password input group (for eye icon) */
.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-group .form-control {
    padding-right: 2.5rem; /* Space for the icon */
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
}

.toggle-password:hover {
    color: #667eea;
}

/* Password Match Indicator */
.match-indicator {
    display: none; /* Hidden by default */
    align-items: center;
    gap: 0.5rem;
    color: #dc3545;
    padding: 0.75rem;
    background: #fdf0f0;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.match-indicator i {
    color: #dc3545;
}


/* For verify_otp.html */
.otp-page {
    padding: 100px 0;
    margin-top: 70px;
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
}

.otp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.otp-form-container {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.otp-header {
    text-align: center;
    margin-bottom: 2rem;
}

.otp-header h1 {
    color: #333;
    margin-bottom: 0.5rem;
}

.otp-header p {
    color: #666;
}

.otp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.otp-help {
    text-align: center;
    margin-top: 2rem;
}

.otp-help p {
    color: #666;
    margin-bottom: 1rem;
}

.otp-resend-form {
    display: inline-block; /* To align button/link */
}

.otp-resend-form button {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    padding: 0;
}

.otp-benefits {
    padding: 2rem;
}

.otp-benefits h3 {
    margin-bottom: 2rem;
    color: #333;
}

.benefits-list { /* Reusing styles from auth-benefits */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
}

.benefit-item i { /* Reusing styles from auth-benefits */
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.25rem;
    width: 24px;
}

.benefit-item h4 { /* Reusing styles from auth-benefits */
    margin-bottom: 0.25rem;
    color: #333;
}

.benefit-item p { /* Reusing styles from auth-benefits */
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .otp-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .otp-benefits {
        order: -1;
    }
    
    .nav-link-m {
        display: inline-block !important;
    }
}
/* Add these styles to your existing static/css/style.css */

/* Password Policy UI */
.password-strength {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    margin-bottom: 1rem; /* Added margin-bottom for spacing */
}

.password-strength .strength-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.password-strength .strength-text {
    font-weight: 600;
}

.password-strength .strength-none { color: #666; }
.password-strength .strength-weak { color: #dc3545; }
.password-strength .strength-fair { color: #ffc107; }
.password-strength .strength-good { color: #17a2b8; }
.password-strength .strength-strong { color: #28a745; }

.password-strength .strength-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.password-strength .strength-indicator {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.password-strength .strength-indicator.none { background: #e9ecef; width: 0%; }
.password-strength .strength-indicator.weak { background: #dc3545; width: 25%; }
.password-strength .strength-indicator.fair { background: #ffc107; width: 50%; }
.password-strength .strength-indicator.good { background: #17a2b8; width: 75%; }
.password-strength .strength-indicator.strong { background: #28a745; width: 100%; }

.password-requirements {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.password-requirements h4 {
    margin: 0 0 0.75rem 0;
    color: #333;
}

.password-requirements ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.password-requirements li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.password-requirements li i {
    color: #ccc;
    width: 16px;
}

.password-requirements li.met {
    color: #28a745;
}

.password-requirements li.met i {
    color: #28a745;
}

.match-indicator {
    display: flex; /* Displayed by JS when needed */
    align-items: center;
    gap: 0.5rem;
    color: #dc3545;
    padding: 0.75rem;
    background: #fdf0f0;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.match-indicator i {
    color: #dc3545;
}

/* For password visibility toggle button */
.password-input-group {
    position: relative;
    display: flex;
    align-items: center; /* Align input and button */
}

.password-input-group input {
    padding-right: 2.5rem; /* Make space for the button */
}

.password-input-group .toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 1rem;
    padding: 0.5rem;
    display: flex; /* For centering icon */
    align-items: center;
    justify-content: center;
    height: 100%; /* Make button cover full height of input */
}

.password-input-group .toggle-password:hover {
    color: #667eea;
}

.password-divider {
    height: 1px;
    background: #e9ecef;
    margin: 1.5rem 0;
}

/* Specific styles for dashboard/security.html */
.security-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.security-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.security-card.support-card {
    grid-column: span 2; /* Full width for support card */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}
.security-card.support-card h3, .security-card.support-card p { color: white; }

.section-description {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f0f4ff;
    border-left: 3px solid #667eea;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 0.9rem;
}

.section-description i {
    color: #667eea;
    flex-shrink: 0;
}

.tips-list, .sessions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-item, .session-item, .activity-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}
.tip-item:hover, .session-item:hover, .activity-item:hover {
    background: #e9ecef;
}

.tip-icon {
    width: 40px; height: 40px; background: #667eea; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white;
    font-size: 1.2rem; flex-shrink: 0; margin-right: 1rem;
}
.tip-item { display: flex; align-items: flex-start; }
.tip-item h4 { margin: 0 0 0.25rem 0; color: #333; }
.tip-item p { margin: 0; color: #666; font-size: 0.9rem; }


.session-item, .activity-item {
    border-color: #28a745; /* Green for successful logins */
}
.session-header, .activity-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem;
}
.session-device, .activity-device {
    display: flex; align-items: center; gap: 0.75rem;
}
.session-device i, .activity-device i { font-size: 1.2rem; color: #667eea; }
.session-info h4, .activity-info h4 { margin: 0 0 0.25rem 0; color: #333; }
.session-info p, .activity-info p { margin: 0; color: #666; font-size: 0.9rem; }

.session-badge {
    padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.8rem; font-weight: 600;
    background: #d4edda; color: #155724;
}
.session-badge i { margin-right: 0.3rem; }
.session-badge.active { background: #ffed4e; color: #856404; } /* Different badge for "Active Now" */

.session-location { color: #888; font-size: 0.85rem; margin-top: 0.5rem; }


/* Responsive for Dashboard Security */
@media (max-width: 992px) { /* Changed from 768px for better tablet layout */
    .security-container {
        grid-template-columns: 1fr;
    }
    .security-card.support-card {
        grid-column: span 1;
    }
}
@media (max-width: 576px) {
    .password-input-group .toggle-password {
        padding: 0.2rem; /* Adjust padding for smaller screens */
        right: 0.5rem;
    }
}

/* Specific styles for admin/user_edit.html (reusing some from dashboard/security) */
.security-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    margin-top: 1.5rem;
}
.security-info-card .security-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.security-info-card .security-item i {
    font-size: 1.5rem;
    color: #667eea;
    width: 24px; /* Fixed width for consistent alignment */
    text-align: center;
}
.security-info-card .security-item h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
}
.security-info-card .security-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.password-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
/* Password Strength Indicator */
.password-strength {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.password-strength h4 {
    margin-bottom: 1rem;
    color: #333;
}

.strength-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.strength-text {
    font-weight: 600;
}

.strength-none { color: #666; }
.strength-weak { color: #dc3545; }
.strength-fair { color: #ffc107; }
.strength-good { color: #17a2b8; }
.strength-strong { color: #28a745; }

.strength-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 4px;
    width: 0%; /* Initial state */
}

.strength-fill.none { background: #e9ecef; }
.strength-fill.weak { background: #dc3545; }
.strength-fill.fair { background: #ffc107; }
.strength-fill.good { background: #17a2b8; }
.strength-fill.strong { background: #28a745; }

/* Password Requirements */
.password-requirements {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.password-requirements h4 {
    margin: 0 0 0.75rem 0;
    color: #333;
}

.password-requirements ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.password-requirements li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.password-requirements i {
    color: #ccc;
    width: 16px;
}

.password-requirements li.met {
    color: #28a745;
}

.password-requirements li.met i {
    color: #28a745;
}

/* Password Match Indicator */
.password-match-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #fdf0f0;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #dc3545;
    margin-top: 0.5rem;
    display: none; /* Hidden by default */
}
.password-match-indicator.match {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}
.password-match-indicator i {
    color: #dc3545;
}
.password-match-indicator.match i {
    color: #155724;
}
/* Password Strength Indicator (Added/Modified) */
.password-strength {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.strength-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.strength-text {
    font-weight: 600;
}

.strength-none { color: #666; }
.strength-weak { color: #dc3545; }
.strength-fair { color: #ffc107; }
.strength-good { color: #17a2b8; }
.strength-strong { color: #28a745; }

.strength-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.strength-indicator {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.strength-indicator.none { background: #e9ecef; width: 0%; }
.strength-indicator.weak { background: #dc3545; width: 25%; }
.strength-indicator.fair { background: #ffc107; width: 50%; }
.strength-indicator.good { background: #17a2b8; width: 75%; }
.strength-indicator.strong { background: #28a745; width: 100%; }

/* Password Requirements (Added/Modified) */
.password-requirements {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.password-requirements h4 {
    margin: 0 0 0.75rem 0;
    color: #333;
}

.password-requirements ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.password-requirements li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.password-requirements i {
    color: #ccc; /* Default grey color */
    width: 16px;
}

.password-requirements li.met {
    color: #28a745; /* Green for met requirements */
}

.password-requirements li.met i {
    color: #28a745;
}

/* Password Match Indicator (Added/Modified) */
.match-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dc3545; /* Red for mismatch */
    padding: 0.75rem;
    background: #fdf0f0; /* Light red background */
    border: 1px solid #f5c6cb; /* Red border */
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 1rem;
}
.match-indicator i {
    color: #dc3545;
}

/* Password input group for toggle visibility button */
.password-input-group {
    position: relative;
    display: flex;
}

.password-input-group .form-control {
    padding-right: 2.5rem; /* Make space for the button */
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
}

.toggle-password:hover {
    color: #667eea;
}

/* Password Divider for current/new passwords */
.password-divider {
    height: 1px;
    background: #e9ecef;
    margin: 1.5rem 0;
}

.tool-login-info {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.tool-login-info h3 {
    margin-bottom: 1rem;
    color: #333;
}

.tool-login-info .login-card {
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.tool-login-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.tool-login-info .note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.nav-link-m {
    display: none;
}