/* ===============================
   Global Styles (Black + Gold Theme)
   =============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;           /* Deep black background */
    --secondary-color: #111111;         /* Slightly lighter black */
    --text-color: #FFD700;              /* Bright gold text */
    --card-bg: #0d0d0d;                 /* Card background */
    --hover-color: #FFD700;             /* Gold hover */
    --accent-color: #FFD700;            /* Accent gold */
    --shadow: rgba(255, 215, 0, 0.4);   /* Soft gold glow */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============================
   Header Styles
   =============================== */
header {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--hover-color);
    color: #000;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===============================
   Hero Section
   =============================== */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #000, #111);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
}

.btn-primary:hover {
    background-color: #000;
    color: var(--accent-color);
    box-shadow: 0 0 15px var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: #000;
}

/* ===============================
   Tools Section
   =============================== */
.tools-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--shadow);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--shadow);
    background-color: #000;
}

.tool-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.tool-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.tool-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-color);
    color: #000;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tool-link:hover {
    background-color: #000;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* ===============================
   Tool Page Styling
   =============================== */
.tool-page {
    min-height: 100vh;
    padding: 2rem 0;
}

.tool-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #0d0d0d;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 15px var(--shadow);
    border: 2px solid var(--accent-color);
}

.tool-header h1,
.tool-header p {
    text-align: center;
    color: var(--accent-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: #000;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    box-shadow: 0 0 10px var(--shadow);
}

.btn-action {
    background-color: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background-color: #000;
    color: var(--accent-color);
    box-shadow: 0 0 20px var(--shadow);
}

.result-section {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #000;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    color: var(--accent-color);
    box-shadow: 0 0 15px var(--shadow);
    text-align: center;
}

/* ===============================
   Footer
   =============================== */
footer {
    background-color: #000;
    color: var(--accent-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    box-shadow: 0 -2px 15px var(--shadow);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
}

.footer-section ul li a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #000;
    background-color: var(--accent-color);
    padding: 5px 10px;
    border-radius: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-color);
    color: var(--accent-color);
}

/* ===============================
   Responsive Fixes
   =============================== */
@media (max-width: 768px) {
    .nav-menu {
        background-color: var(--primary-color);
    }
}
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bubbles span {
    position: absolute;
    bottom: -150px;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.8);
    animation: rise 8s linear infinite;
}

/* Brighter + slightly varied sizes */
.bubbles span:nth-child(1) { left: 10%; width: 10px; height: 10px; animation-duration: 9s; }
.bubbles span:nth-child(2) { left: 20%; width: 14px; height: 14px; animation-duration: 7s; }
.bubbles span:nth-child(3) { left: 30%; width: 20px; height: 20px; animation-duration: 10s; }
.bubbles span:nth-child(4) { left: 40%; width: 12px; height: 12px; animation-duration: 8s; }
.bubbles span:nth-child(5) { left: 50%; width: 18px; height: 18px; animation-duration: 11s; }
.bubbles span:nth-child(6) { left: 60%; width: 15px; height: 15px; animation-duration: 9s; }
.bubbles span:nth-child(7) { left: 70%; width: 10px; height: 10px; animation-duration: 8s; }
.bubbles span:nth-child(8) { left: 80%; width: 25px; height: 25px; animation-duration: 12s; }
.bubbles span:nth-child(9) { left: 90%; width: 14px; height: 14px; animation-duration: 9s; }
.bubbles span:nth-child(10) { left: 95%; width: 16px; height: 16px; animation-duration: 10s; }

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.9;
    }
    50% {
        opacity: 1;
        transform: translateY(-50vh) scale(1.2);
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }

}

/* Language Translator - Emergency Fix */
.translator-container {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    gap: 20px !important;
    align-items: start !important;
    margin-bottom: 30px !important;
    visibility: visible !important;
}

.translator-box {
    background: #000000 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    border: 2px solid #ffd700 !important;
    visibility: visible !important;
    display: block !important;
}

.language-selector {
    margin-bottom: 15px !important;
}

.language-selector label {
    display: block !important;
    margin-bottom: 5px !important;
    font-weight: bold !important;
    color: #ffd700 !important;
}

.language-selector select {
    width: 100% !important;
    padding: 10px !important;
    border: 2px solid #ffd700 !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    background: #000000 !important;
    color: #ffd700 !important;
}

.translator-box textarea {
    width: 100% !important;
    padding: 15px !important;
    border: 2px solid #ffd700 !important;
    border-radius: 5px !important;
    resize: vertical !important;
    font-size: 14px !important;
    font-family: inherit !important;
    background: #000000 !important;
    color: #ffd700 !important;
    display: block !important;
    visibility: visible !important;
}

.btn-primary, .btn-secondary {
    background: #ffd700 !important;
    color: #000000 !important;
    border: 2px solid #ffd700 !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    display: inline-block !important;
    visibility: visible !important;
}

/* Make sure the HTML file has the correct structure */
/* Password Strength Checker Styles */
.password-checker-container {
    max-width: 800px;
    margin: 0 auto;
}

.input-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.input-section label {
    display: block;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.password-input-group {
    position: relative;
    display: flex;
    margin-bottom: 20px;
}

.password-input-group input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ffd700;
    border-radius: 8px 0 0 8px;
    background: #000000;
    color: #ffd700;
    font-size: 16px;
    font-family: monospace;
}

.password-input-group input:focus {
    outline: none;
    border-color: #ffff00;
}

.toggle-btn {
    background: #ffd700;
    border: 2px solid #ffd700;
    border-radius: 0 8px 8px 0;
    color: #000000;
    padding: 0 20px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    background: #ffff00;
    border-color: #ffff00;
}

.password-requirements {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
}

.password-requirements h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1em;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 0.9em;
}

.password-requirements li i {
    margin-right: 10px;
    font-size: 0.8em;
}

.strength-meter {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.strength-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.strength-label span:first-child {
    color: #ffd700;
    font-weight: bold;
}

.strength-label span:last-child {
    font-weight: bold;
    font-size: 1.1em;
}

.meter-bar {
    width: 100%;
    height: 12px;
    background: #333;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.meter-fill {
    height: 100%;
    width: 0%;
    border-radius: 6px;
    transition: all 0.5s ease;
}

.strength-levels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #666;
}

.strength-levels .level {
    text-align: center;
    flex: 1;
}

.security-analysis {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.security-analysis h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.analysis-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 6px;
}

.analysis-item .label {
    color: #ffd700;
    font-weight: bold;
}

.analysis-item .value {
    color: #ffffff;
    font-weight: bold;
}

.recommendations {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.recommendations h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendations-list {
    min-height: 60px;
}

.no-recommendations {
    color: #666;
    text-align: center;
    font-style: italic;
}

.success-message {
    color: #28a745;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background: #1a1a1a;
    border-radius: 6px;
    color: #ffffff;
}

.recommendation-item i {
    color: #ffd700;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}
/* URL Encoder/Decoder Styles */
.url-encoder-container {
    max-width: 800px;
    margin: 0 auto;
}

.mode-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 15px;
}

.mode-btn {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: #000000;
    color: #ffd700;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mode-btn:hover {
    background: #1a1a1a;
    border-color: #ffff00;
}

.mode-btn.active {
    background: #ffd700;
    color: #000000;
    border-color: #ffd700;
}

.input-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: #000000;
    color: #ffd700;
    font-family: monospace;
    resize: vertical;
    font-size: 14px;
}

.input-group textarea:focus {
    outline: none;
    border-color: #ffff00;
}

.input-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: #ffd700;
}

.btn-small {
    background: #ffd700;
    color: #000000;
    border: 2px solid #ffd700;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: #ffff00;
    border-color: #ffff00;
}

.action-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.output-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.output-group label {
    display: block;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.output-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #28a745;
    border-radius: 8px;
    background: #000000;
    color: #28a745;
    font-family: monospace;
    resize: vertical;
    font-size: 14px;
}

.output-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.examples-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.examples-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.example-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
}

.example-card h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1em;
}

.example-card p {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 0.9em;
    line-height: 1.4;
}

.example-card strong {
    color: #ffd700;
}

.info-section {
    margin-bottom: 25px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.info-card i {
    font-size: 2em;
    color: #ffd700;
    margin-bottom: 15px;
}

.info-card h4 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1em;
}

.info-card p {
    color: #ffffff;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .mode-selector {
        flex-direction: column;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .action-section {
        flex-direction: column;
    }
}
/* Keyword Density Checker Styles */
.keyword-density-container {
    max-width: 1000px;
    margin: 0 auto;
}

.input-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: #000000;
    color: #ffd700;
    font-family: inherit;
    resize: vertical;
    font-size: 14px;
    line-height: 1.5;
}

.input-group textarea:focus {
    outline: none;
    border-color: #ffff00;
}

.input-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: #ffd700;
}

.input-info span {
    margin-right: 15px;
}

.analysis-options {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.analysis-options h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1em;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.option-checkbox {
    display: flex;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.9em;
}

.option-checkbox input {
    margin-right: 10px;
}

.action-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.results-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.stats-overview {
    margin-bottom: 30px;
}

.stats-overview h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #333;
}

.stat-value {
    font-size: 2em;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-label {
    color: #ffffff;
    font-size: 0.9em;
}

.keywords-results {
    margin-bottom: 30px;
}

.keywords-results h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-controls {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.9em;
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 2px solid #ffd700;
    border-radius: 5px;
    background: #000000;
    color: #ffd700;
    font-size: 0.9em;
}

.keywords-table-container {
    overflow-x: auto;
}

.keywords-table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.keywords-table th {
    background: #ffd700;
    color: #000000;
    padding: 15px 12px;
    text-align: left;
    font-weight: bold;
    font-size: 0.9em;
}

.keywords-table td {
    padding: 12px;
    border-bottom: 1px solid #333;
    color: #ffffff;
}

.keywords-table tr:last-child td {
    border-bottom: none;
}

.keywords-table tr:hover {
    background: #2a2a2a;
}

.keyword-cell {
    font-weight: bold;
    color: #ffd700;
}

.frequency-cell {
    text-align: center;
    font-weight: bold;
}

.density-cell {
    text-align: center;
}

.score-cell {
    text-align: center;
}

.score-bar {
    position: relative;
    background: #333;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc3545, #fd7e14, #ffc107, #28a745);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-weight: bold;
    font-size: 0.8em;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
}

.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px !important;
}

.seo-recommendations h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendations-list {
    min-height: 60px;
}

.no-recommendations {
    color: #666;
    text-align: center;
    font-style: italic;
}

.success-message {
    color: #28a745;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 8px;
    background: #1a1a1a;
    border-radius: 6px;
    color: #ffffff;
    border-left: 4px solid #ffd700;
}

.recommendation-item i {
    color: #ffd700;
}

/* Custom checkbox */
.option-checkbox {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    user-select: none;
}

.option-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #000000;
    border: 2px solid #ffd700;
    border-radius: 4px;
}

.option-checkbox:hover input ~ .checkmark {
    background-color: #1a1a1a;
}

.option-checkbox input:checked ~ .checkmark {
    background-color: #ffd700;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.option-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.option-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .results-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .keywords-table {
        font-size: 0.8em;
    }
    
    .action-section {
        flex-direction: column;
    }
}
/* YouTube Thumbnail Downloader Styles */
.youtube-thumbnail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.input-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.url-input-group label {
    display: block;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.input-with-button {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.input-with-button input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: #000000;
    color: #ffd700;
    font-size: 14px;
}

.input-with-button input:focus {
    outline: none;
    border-color: #ffff00;
}

.input-with-button input::placeholder {
    color: #ffd700;
    opacity: 0.7;
}

.input-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.video-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.video-info h4 {
    color: #ffd700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 6px;
}

.info-item span:first-child {
    color: #ffd700;
    font-weight: bold;
}

.info-item span:last-child {
    color: #ffffff;
    font-family: monospace;
}

.action-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.thumbnails-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.thumbnails-section h3 {
    color: #ffd700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-description {
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 0.9em;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.thumbnail-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.thumbnail-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #000000;
}

.thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    gap: 10px;
}

.thumbnail-error i {
    font-size: 2em;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-card:hover .thumbnail-overlay {
    opacity: 1;
}

.quality-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: bold;
    color: #000000;
}

.quality-badge.max { background: #28a745; }
.quality-badge.high { background: #ffc107; }
.quality-badge.medium { background: #fd7e14; }
.quality-badge.low { background: #dc3545; }
.quality-badge.default { background: #6c757d; }

.download-btn {
    background: #ffd700;
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #ffff00;
    transform: scale(1.1);
}

.thumbnail-info {
    padding: 15px;
}

.thumbnail-info h4 {
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 1em;
}

.thumbnail-info p {
    color: #ffffff;
    font-size: 0.8em;
    margin-bottom: 8px;
    opacity: 0.8;
}

.thumbnail-url {
    color: #666;
    font-family: monospace;
    font-size: 0.7em;
}

.quality-info {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.quality-info h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.quality-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #333;
    position: relative;
}

.quality-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: bold;
}

.quality-card h4 {
    color: #ffd700;
    margin: 15px 0 8px 0;
    font-size: 1em;
}

.quality-card p {
    color: #ffffff;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.quality-code {
    color: #666;
    font-family: monospace;
    font-size: 0.8em;
}

.instructions-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.instructions-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.step-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #000000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.step-card h4 {
    color: #ffd700;
    margin: 15px 0 10px 0;
    font-size: 1em;
}

.step-card p {
    color: #ffffff;
    font-size: 0.8em;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .input-with-button {
        flex-direction: column;
    }
    
    .thumbnails-grid {
        grid-template-columns: 1fr;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .action-section {
        flex-direction: column;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}
/* PDF to Word Converter Styles */
.pdf-converter-container {
    max-width: 900px;
    margin: 0 auto;
}

.upload-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
}

.upload-area {
    text-align: center;
    padding: 40px 20px;
    border: 3px dashed #ffd700;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background: #1a1a1a;
    border-color: #ffff00;
}

.upload-icon {
    font-size: 2em;
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.upload-icon .fa-arrow-right {
    font-size: 1em;
    opacity: 0.7;
}

.upload-area h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.upload-area p {
    color: #ffd700;
    opacity: 0.8;
    margin-bottom: 20px;
}

.file-requirements {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.file-requirements h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1em;
}

.file-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.file-requirements li {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-requirements li i {
    color: #28a745;
    font-size: 0.8em;
}

.file-preview {
    margin-top: 20px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.file-preview h4 {
    color: #ffd700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.preview-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.file-icon {
    font-size: 2em;
    color: #dc3545;
}

.file-details {
    flex: 1;
}

.file-name {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 5px;
}

.file-size {
    color: #ffd700;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.file-status {
    color: #28a745;
    font-size: 0.8em;
    font-weight: bold;
}

.conversion-options {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.conversion-options h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-group label {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.9em;
}

.option-group select {
    padding: 12px;
    border: 2px solid #ffd700;
    border-radius: 6px;
    background: #000000;
    color: #ffd700;
    font-size: 0.9em;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff !important;
    font-weight: normal !important;
    cursor: pointer;
}

.action-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.result-section {
    background: #000000;
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.result-section h3 {
    color: #28a745;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-success {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
}

.success-icon {
    font-size: 3em;
    color: #28a745;
}

.success-details h4 {
    color: #28a745;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.success-details p {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.success-details span {
    color: #ffd700;
    font-weight: bold;
}

.download-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.conversion-progress {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.conversion-progress h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #333;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffff00);
    border-radius: 6px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    color: #ffd700;
    font-size: 0.9em;
}

.info-sections {
    margin-top: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.info-card i {
    font-size: 2em;
    color: #ffd700;
    margin-bottom: 15px;
}

.info-card h4 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1em;
}

.info-card p {
    color: #ffffff;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-content {
        flex-direction: column;
        text-align: center;
    }
    
    .file-info {
        flex-direction: column;
        text-align: center;
    }
    
    .download-actions {
        flex-direction: column;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .action-section {
        flex-direction: column;
    }
    
    .result-success {
        flex-direction: column;
        text-align: center;
    }
}
/* YouTube to MP3 Converter Styles */
.youtube-mp3-container {
    max-width: 900px;
    margin: 0 auto;
}

.input-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.url-input-group label {
    display: block;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.input-with-button {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.input-with-button input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: #000000;
    color: #ffd700;
    font-size: 14px;
}

.input-with-button input:focus {
    outline: none;
    border-color: #ffff00;
}

.input-with-button input::placeholder {
    color: #ffd700;
    opacity: 0.7;
}

.input-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.video-preview {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.video-preview h4 {
    color: #ffd700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.preview-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
}

.thumbnail-container {
    position: relative;
    width: 200px;
    height: 112px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-container:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 2em;
    color: #ff0000;
}

.video-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-details h5 {
    color: #ffffff;
    font-size: 1.1em;
    margin: 0;
    line-height: 1.3;
}

.video-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.video-meta span {
    color: #ffd700;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-quality {
    display: flex;
    gap: 10px;
    color: #ffffff;
    font-size: 0.9em;
}

.video-quality span:first-child {
    color: #ffd700;
}

.conversion-options {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.conversion-options h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-group label {
    color: #ffd700;
    font-weight: bold;
    font-size: 0.9em;
}

.option-group select {
    padding: 10px;
    border: 2px solid #ffd700;
    border-radius: 6px;
    background: #000000;
    color: #ffd700;
    font-size: 0.9em;
}

.action-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.conversion-progress {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.conversion-progress h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #333;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffff00);
    border-radius: 6px;
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    color: #ffd700;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.progress-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9em;
}

.result-section {
    background: #000000;
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.result-section h3 {
    color: #28a745;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
}

.success-icon {
    font-size: 3em;
    color: #28a745;
}

.success-details h4 {
    color: #28a745;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.success-details p {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.success-details span {
    color: #ffd700;
    font-weight: bold;
}

.download-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.info-sections {
    margin-top: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.info-card i {
    font-size: 2em;
    color: #ffd700;
    margin-bottom: 15px;
}

.info-card h4 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1em;
}

.info-card p {
    color: #ffffff;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .thumbnail-container {
        width: 100%;
        height: 180px;
        margin: 0 auto;
    }
    
    .video-meta {
        justify-content: center;
    }
    
    .progress-details {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .action-section {
        flex-direction: column;
    }
    
    .download-actions {
        flex-direction: column;
    }
    
    .input-with-button {
        flex-direction: column;
    }
    
    .success-message {
        flex-direction: column;
        text-align: center;
    }
}
/* Plagiarism Checker Styles */
.plagiarism-checker-container {
    max-width: 1000px;
    margin: 0 auto;
}

.input-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: #000000;
    color: #ffd700;
    font-family: inherit;
    resize: vertical;
    font-size: 14px;
    line-height: 1.5;
}

.input-group textarea:focus {
    outline: none;
    border-color: #ffff00;
}

.input-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: #ffd700;
}

.check-options {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.check-options h4 {
    color: #ffd700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.action-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.results-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.results-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-overview {
    margin-bottom: 30px;
}

.plagiarism-score {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#28a745 0deg, #1a1a1a 0deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: #000000;
    border-radius: 50%;
}

.score-value {
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
    z-index: 1;
}

.score-label {
    color: #ffd700;
    font-size: 0.9em;
    z-index: 1;
    margin-top: 5px;
}

.score-breakdown {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 6px;
}

.breakdown-item .label {
    color: #ffd700;
    font-weight: bold;
}

.breakdown-item .value {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
}

.detailed-results {
    margin-bottom: 30px;
}

.detailed-results h4 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.result-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.result-icon {
    font-size: 1.5em;
    color: #ffd700;
    margin-top: 2px;
}

.result-content h5 {
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 1em;
}

.result-content p {
    color: #ffffff;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

.similar-sources {
    margin-bottom: 30px;
}

.similar-sources h4 {
    color: #ffd700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.sources-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.source-item {
    padding: 15px;
    background: #1a1a1a;
    border-radius: 6px;
    border-left: 4px solid #dc3545;
}

.source-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.source-title {
    color: #ffd700;
    font-weight: bold;
    text-decoration: none;
}

.source-title:hover {
    color: #ffff00;
}

.source-similarity {
    color: #dc3545;
    font-weight: bold;
    font-size: 0.9em;
}

.source-preview {
    color: #ffffff;
    font-size: 0.9em;
    line-height: 1.4;
}

.recommendations h4 {
    color: #ffd700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.recommendations-list {
    min-height: 60px;
}

.no-issues {
    color: #28a745;
    text-align: center;
    font-style: italic;
    padding: 20px;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 8px;
    background: #1a1a1a;
    border-radius: 6px;
    color: #ffffff;
    border-left: 4px solid #ffd700;
}

.recommendation-item i {
    color: #ffd700;
}

.checking-progress {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.checking-progress h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: #2a2a2a;
    border: 1px solid #ffd700;
}

.progress-step.completed {
    background: #1a2a1a;
    border: 1px solid #28a745;
}

.progress-step i {
    color: #666;
    font-size: 1.2em;
}

.progress-step.active i {
    color: #ffd700;
}

.progress-step.completed i {
    color: #28a745;
}

.progress-step span {
    color: #ffffff;
    font-size: 0.8em;
    font-weight: bold;
}

.progress-text {
    text-align: center;
    color: #ffd700;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .plagiarism-score {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .score-circle {
        margin: 0 auto;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-section {
        flex-direction: column;
    }
    
    .source-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .progress-steps {
        grid-template-columns: 1fr;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-circle::before {
        width: 90px;
        height: 90px;
    }
    
    .score-value {
        font-size: 1.5em;
    }
}
/* Grammar Checker Styles */
.grammar-checker-container {
    max-width: 1000px;
    margin: 0 auto;
}

.input-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: #000000;
    color: #ffd700;
    font-family: inherit;
    resize: vertical;
    font-size: 14px;
    line-height: 1.5;
}

.input-group textarea:focus {
    outline: none;
    border-color: #ffff00;
}

.input-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: #ffd700;
    flex-wrap: wrap;
    gap: 10px;
}

.writing-stats {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.writing-stats h4 {
    color: #ffd700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 6px;
    border: 1px solid #333;
}

.stat-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-label {
    color: #ffffff;
    font-size: 0.8em;
}

.check-options {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.check-options h4 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.action-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.results-section {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.results-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-overview {
    margin-bottom: 30px;
}

.score-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.score-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.score-icon {
    font-size: 2em;
    color: #ffd700;
}

.score-content {
    flex: 1;
}

.score-value {
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}

.score-label {
    color: #ffd700;
    font-size: 0.9em;
}

.errors-breakdown {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333;
}

.errors-breakdown h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1em;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid;
}

.breakdown-item.spelling {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.breakdown-item.grammar {
    border-left-color: #fd7e14;
    background: rgba(253, 126, 20, 0.1);
}

.breakdown-item.punctuation {
    border-left-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

.breakdown-item.style {
    border-left-color: #20c997;
    background: rgba(32, 201, 151, 0.1);
}

.error-type {
    color: #ffffff;
    font-weight: bold;
}

.error-count {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2em;
}

.detailed-errors {
    margin-bottom: 30px;
}

.detailed-errors h4 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.errors-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.no-errors {
    text-align: center;
    color: #28a745;
    font-weight: bold;
    padding: 40px;
    font-size: 1.1em;
}

.error-item {
    padding: 15px;
    background: #1a1a1a;
    border-radius: 6px;
    border-left: 4px solid;
}

.error-item.spelling {
    border-left-color: #dc3545;
}

.error-item.grammar {
    border-left-color: #fd7e14;
}

.error-item.punctuation {
    border-left-color: #ffc107;
}

.error-item.style {
    border-left-color: #20c997;
}

.error-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.error-type-badge {
    background: #333;
    color: #ffd700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: capitalize;
}

.error-severity {
    font-size: 0.8em;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
}

.error-severity.high {
    background: #dc3545;
    color: #ffffff;
}

.error-severity.medium {
    background: #fd7e14;
    color: #ffffff;
}

.error-severity.low {
    background: #ffc107;
    color: #000000;
}

.error-description {
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.error-suggestion {
    color: #ffd700;
    font-size: 0.9em;
    line-height: 1.4;
}

.suggestions {
    margin-bottom: 30px;
}

.suggestions h4 {
    color: #ffd700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.suggestions-list {
    min-height: 60px;
}

.no-suggestions {
    color: #666;
    text-align: center;
    font-style: italic;
    padding: 20px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 8px;
    background: #1a1a1a;
    border-radius: 6px;
    color: #ffffff;
    border-left: 4px solid #ffd700;
}

.suggestion-item i {
    color: #ffd700;
}

.corrected-text {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333;
}

.corrected-text h4 {
    color: #28a745;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}

.corrected-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.text-preview {
    background: #000000;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    color: #28a745;
    line-height: 1.5;
    max-height: 200px;
    overflow-y: auto;
    font-family: inherit;
}

.correction-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.checking-progress {
    background: #000000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.checking-progress h3 {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: #2a2a2a;
    border: 1px solid #ffd700;
}

.progress-step.completed {
    background: #1a2a1a;
    border: 1px solid #28a745;
}

.progress-step i {
    color: #666;
    font-size: 1.2em;
}

.progress-step.active i {
    color: #ffd700;
}

.progress-step.completed i {
    color: #28a745;
}

.progress-step span {
    color: #ffffff;
    font-size: 0.8em;
    font-weight: bold;
}

.progress-text {
    text-align: center;
    color: #ffd700;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .score-summary {
        grid-template-columns: 1fr;
    }
    
    .breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .progress-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-section {
        flex-direction: column;
    }
    
    .input-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        grid-template-columns: 1fr;
    }
    
    .correction-actions {
        flex-direction: column;
    }
}
