/* Password Generator Tool - Custom CSS */
/* --- Main Content Styles Only --- */

/* Trust Block */
.trust-block {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    color: #0369a1;
}

.trust-block strong {
    color: #1e40af;
}

.trust-block a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.trust-block a:hover {
    text-decoration: underline;
}

/* Increase container width for mobile - PAGE SPECIFIC */
@media (max-width: 768px) {
    .container {
        max-width: 98%;
        padding: 0 10px;
    }
}

.half-section {
    max-width: 1400px;
    width: 98%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 20px 15px 30px;
    border-radius: 15px;
    background: white;
    margin: 20px auto;
    animation: movingShadow 3s ease-in-out infinite alternate;
    overflow: hidden;
}

@keyframes movingShadow {
    0% {
        box-shadow: 
            rgba(0, 0, 0, 0.35) 0px 5px 15px,
            rgba(59, 130, 246, 0.4) 5px 5px 20px;
    }
    100% {
        box-shadow: 
            rgba(0, 0, 0, 0.35) 0px 5px 15px,
            rgba(59, 130, 246, 0.4) -5px -5px 20px;
    }
}

.toolheading {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    word-wrap: break-word;
    padding: 0 10px;
}

.password-icon {
    color: #3b82f6;
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.description {
    text-align: center;
    width: 98%;
    margin: 0 auto 20px;
    color: #4b4b4b;
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    line-height: 1.5;
    padding: 0 5px;
}

.toolbox {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px 20px;
    border: 2px solid #D0D4E9;
    border-radius: 15px;
    background-color: #f7f8fc;
    width: 98%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.generator-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.generator-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.config-panel {
    border-right: 1px solid #e9ecef;
    padding-right: 30px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.config-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 8px;
    word-wrap: break-word;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 0.9rem;
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.btn-primary {
    background-color: #3b82f6;
    color: #fff;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.output-panel {
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.output-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 8px;
    word-wrap: break-word;
}

.password-display {
    background-color: #f8f9fa;
    border: 2px solid #ced4da;
    border-radius: 6px;
    padding: 20px;
    min-height: 120px;
    margin-bottom: 16px;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    line-height: 1.6;
    word-break: break-all;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.password-text {
    font-weight: 600;
    color: #1e40af;
    font-size: 1.4rem;
    letter-spacing: 1px;
    word-break: break-all;
    padding: 10px;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.copy-button:hover {
    background-color: #2563eb;
}

.copy-button.copied {
    background-color: #10b981;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1;
    min-width: 120px;
    box-sizing: border-box;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-success {
    background-color: #10b981;
    color: #fff;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1;
    min-width: 120px;
    box-sizing: border-box;
}

.btn-success:hover {
    background-color: #059669;
}

/* Password Strength Meter */
.strength-meter {
    margin-top: 20px;
    width: 100%;
}

.strength-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #6c757d;
}

.meter-bar {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
}

.meter-fill {
    height: 100%;
    width: 0%;
    border-radius: 5px;
    transition: width 0.5s ease, background-color 0.5s ease;
}

.strength-weak { background-color: #ef4444; width: 25%; }
.strength-fair { background-color: #f59e0b; width: 50%; }
.strength-good { background-color: #10b981; width: 75%; }
.strength-strong { background-color: #059669; width: 100%; }

.strength-text {
    text-align: center;
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.strength-weak-text { color: #ef4444; }
.strength-fair-text { color: #f59e0b; }
.strength-good-text { color: #10b981; }
.strength-strong-text { color: #059669; }

/* Character Options */
.character-options {
    margin-top: 20px;
    width: 100%;
}

.option-group {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}

.option-group input {
    margin-right: 10px;
    flex-shrink: 0;
}

.option-group label {
    font-size: 0.9rem;
    color: #333;
    word-wrap: break-word;
    flex: 1;
}

.option-example {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 5px;
    font-family: 'Courier New', monospace;
}

/* Length Slider */
.length-slider {
    width: 100%;
    margin-top: 10px;
}

.slider-container {
    position: relative;
    width: 100%;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #ef4444, #f59e0b, #10b981, #059669);
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider-value {
    text-align: center;
    margin-top: 8px;
    font-weight: 600;
    color: #3b82f6;
    font-size: 1.1rem;
}

/* Complexity Presets */
.complexity-presets {
    margin-top: 20px;
    width: 100%;
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.preset-card {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    word-wrap: break-word;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preset-card:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.preset-card.active {
    border-color: #3b82f6;
    background-color: #dbeafe;
}

.preset-icon {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 8px;
}

.preset-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    word-wrap: break-word;
    text-align: center;
}

.preset-desc {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 4px;
}

/* Advanced Features */
.advanced-features {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.advanced-feature {
    text-align: center;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    width: 100%;
}

.advanced-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #3b82f6;
}

.advanced-icon {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.advanced-feature h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
    word-wrap: break-word;
}

.advanced-feature p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Content/SEO Section */
.howto, 
.faq-section,
.content-section {
    width: 98%;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 25px;
    border-radius: 15px;
    background-color: #f0f1f8;
    border: 2px solid #D0D4E9;
    margin-top: 35px;
    box-sizing: border-box;
    overflow: hidden;
}

.howto h2, 
.faq-section h2,
.content-section h2,
.content-section h3 { 
    font-size: 1.8rem; 
    font-weight: 700; 
    text-align: center; 
    margin-bottom: 25px;
    color: #2c3e50;
    word-wrap: break-word;
    padding: 0 10px;
}

.howto ul { 
    margin-left: 25px; 
    color: #4b4b4b; 
    line-height: 1.7;
    font-size: 1.05rem;
    padding-right: 10px;
}

.howto li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    padding-left: 10px;
    word-wrap: break-word;
}

.howto li strong {
    color: #3b82f6;
}

.faq-item {
    border-bottom: 1px solid #D0D4E9;
    padding: 20px 0;
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    box-sizing: border-box;
    width: 100%;
}

.faq-question {
    font-weight: 700;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    padding-bottom: 15px;
    word-wrap: break-word;
}

.faq-answer {
    padding: 20px 0 5px 0;
    font-size: 1.1rem;
    color: #4b4b4b;
    display: none;
    line-height: 1.6;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
    word-wrap: break-word;
}

.content-section {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 35px 30px;
}

.content-section h2, .content-section h3 {
    color: #1e40af;
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    word-wrap: break-word;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #4b4b4b;
    font-size: 1.1rem;
    word-wrap: break-word;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.comparison-table thead tr {
    background-color: #3b82f6;
    color: white;
    text-align: left;
    font-weight: bold;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.comparison-table tbody tr:last-of-type {
    border-bottom: 2px solid #3b82f6;
}

.comparison-table tbody tr:hover {
    background-color: #f1f5f9;
}

.hidden {
    display: none !important;
}

/* Status Messages */
.status-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin: 10px 0;
    font-weight: 500;
    text-align: center;
    display: none;
}

.status-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.status-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Button Container */
.button-container {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.button-generate {
    background-color: #3b82f6;
    padding: 14px 28px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    border: 1px solid #2563eb;
    transition: 0.3s;
    font-size: 1.1rem;
    cursor: pointer;
    flex: 1;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    min-width: 200px;
    box-sizing: border-box;
}

.button-generate:hover { 
    background-color: #2563eb; 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.button-secondary {
    background-color: #fff;
    border: 1px solid #D0D4E9;
    padding: 14px 28px;
    border-radius: 50px;
    color: #000;
    font-weight: 600;
    transition: 0.3s;
    font-size: 1.1rem;
    cursor: pointer;
    flex: 1;
    min-width: 200px;
    box-sizing: border-box;
}

.button-secondary:hover { 
    background-color: #f0f0f0; 
    transform: translateY(-2px);
}

/* AdSense Placeholder */
.ad-placeholder {
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin: 30px auto;
    width: 100%;
    max-width: 970px;
    height: 90px;
    box-sizing: border-box;
    padding: 0 10px;
}

.ad-placeholder p {
    max-width: 80%;
    word-wrap: break-word;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .preset-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .generator-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .config-panel {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 24px;
        width: 100%;
    }
    
    .generator-container {
        padding: 24px;
        width: 100%;
    }
    
    .advanced-grid {
        grid-template-columns: 1fr;
    }
    
    .preset-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .half-section {
        width: 98%;
        padding: 15px 12px 25px;
        margin: 10px auto;
        border-radius: 12px;
    }
    
    .toolheading {
        margin-bottom: 5px;
        gap: 10px;
        font-size: clamp(1.6rem, 4vw, 2.2rem);
        padding: 0 5px;
    }
    
    .password-icon {
        font-size: 1.8rem;
    }
    
    .description {
        width: 98%;
        margin-bottom: 15px;
        padding: 0 8px;
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }
    
    .toolbox {
        width: 98%;
        padding: 20px 15px;
        gap: 15px;
        margin-top: 10px;
        border-radius: 12px;
    }
    
    .generator-container {
        padding: 20px;
        width: 100%;
    }
    
    .config-panel h2,
    .output-panel h2 {
        font-size: 1.3rem;
        padding: 0 5px;
    }
    
    .form-control {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-secondary, .btn-success {
        width: 100%;
        min-width: 100%;
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .preset-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .preset-card {
        padding: 10px;
        min-height: 80px;
    }
    
    .preset-icon {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .preset-name {
        font-size: 0.75rem;
    }
    
    .preset-desc {
        font-size: 0.7rem;
    }
    
    .password-display {
        padding: 15px;
        font-size: 1rem;
        min-height: 100px;
    }
    
    .password-text {
        font-size: 1.1rem;
    }
    
    .copy-button {
        padding: 4px 8px;
        font-size: 0.7rem;
        top: 5px;
        right: 5px;
    }
    
    .button-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .button-generate,
    .button-secondary {
        padding: 12px 24px;
        font-size: 1rem;
        border-radius: 30px;
        min-width: 100%;
        width: 100%;
    }
    
    /* FAQ & Content Mobile Styles */
    .howto, 
    .faq-section,
    .content-section {
        width: 98%;
        padding: 25px 20px;
        margin-top: 25px;
        border-radius: 12px;
    }
    
    .howto h2, 
    .faq-section h2,
    .content-section h2,
    .content-section h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding: 0 5px;
    }
    
    .howto ul {
        margin-left: 15px;
        padding-right: 5px;
    }
    
    .howto li {
        font-size: 1rem;
        margin-bottom: 12px;
        line-height: 1.6;
        padding-left: 5px;
    }
    
    .faq-item {
        padding: 18px 20px;
        margin-bottom: 12px;
        width: 100%;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding-bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .faq-answer {
        font-size: 1rem;
        padding: 15px 0 5px 0;
    }
    
    .content-section h2, .content-section h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .content-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .option-group label {
        font-size: 0.8rem;
    }
    
    .option-example {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 98%;
        padding: 0 8px;
    }
    
    .half-section {
        width: 98%;
        padding: 12px 10px 20px;
    }
    
    .toolheading {
        gap: 8px;
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .password-icon {
        font-size: 1.5rem;
    }
    
    .toolbox {
        width: 98%;
        padding: 15px 12px;
    }
    
    .generator-container {
        padding: 15px;
    }
    
    .config-panel h2,
    .output-panel h2 {
        font-size: 1.2rem;
    }
    
    .btn-primary,
    .button-generate,
    .button-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .preset-grid {
        grid-template-columns: 1fr;
    }
    
    .preset-card {
        min-height: 70px;
    }
    
    .option-group label {
        font-size: 0.8rem;
    }
    
    .option-example {
        font-size: 0.7rem;
    }
    
    /* FAQ & Content Mobile Styles */
    .howto, 
    .faq-section,
    .content-section {
        width: 98%;
        padding: 20px 15px;
        margin-top: 20px;
    }
    
    .howto h2, 
    .faq-section h2,
    .content-section h2,
    .content-section h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.95rem;
    }
    
    .advanced-feature {
        padding: 15px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .toolheading {
        font-size: 1.3rem;
    }
    
    .description {
        font-size: 0.8rem;
    }
    
    .preset-grid {
        grid-template-columns: 1fr;
    }
    
    .preset-card {
        min-height: 60px;
        padding: 8px;
    }
    
    .preset-name {
        font-size: 0.7rem;
    }
    
    .password-display {
        font-size: 0.9rem;
    }
    
    .password-text {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .half-section {
        width: 100%;
        box-shadow: none;
        animation: none;
        padding: 0;
        margin: 0;
    }
    
    .howto, 
    .faq-section,
    .content-section {
        width: 100%;
        border: 1px solid #000;
        page-break-inside: avoid;
    }
    
    .generator-container,
    .toolbox {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .action-buttons,
    .advanced-features {
        display: none;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ensure all elements stay within container */
* {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}