<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">

:root {
    --primary: #2c3e50;
    --secondary: #34495e;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #1a252f;
    --success: #2ecc71;
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

html[dir="rtl"] body {
    font-family: 'Tahoma', 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: var(--dark);
    line-height: 1.6;
    text-align: right;
    direction: rtl;
}

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

html[dir="rtl"] header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

html[dir="rtl"] h1 {
    font-family: 'Tahoma', 'Arial', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    margin-top: 30px;
}

html[dir="rtl"] .subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 300;
    letter-spacing: 0.5px;
}

html[dir="rtl"] .editor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

html[dir="rtl"] .svg-display {
    padding: .5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 500px;
    background-color: #f5f7fa;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

html[dir="rtl"] #svg-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

html[dir="rtl"] .controls {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

html[dir="rtl"] .upload-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

html[dir="rtl"] .btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html[dir="rtl"] .btn-primary {
    background-color: var(--accent);
    color: white;
}

html[dir="rtl"] .btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

html[dir="rtl"] .btn-success {
    background-color: var(--success);
    color: white;
}

html[dir="rtl"] .btn-success:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

html[dir="rtl"] .color-controls {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

html[dir="rtl"] .color-wheel-container {
    width: 100%;
    height: 200px;
    margin: 0 auto 1rem;
    position: relative;
}

html[dir="rtl"] .slider-container {
    width: 100%;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

html[dir="rtl"] .slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

html[dir="rtl"] .slider-controls {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

html[dir="rtl"] input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

html[dir="rtl"] input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

html[dir="rtl"] .elements-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 1rem;
}

html[dir="rtl"] .group-item {
    padding: 0.75rem;
    margin: 0.25rem 0;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.2s ease;
}

html[dir="rtl"] .group-item:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

html[dir="rtl"] .group-item.active {
    background-color: rgba(52, 152, 219, 0.2);
}

html[dir="rtl"] .group-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

html[dir="rtl"] .group-count {
    margin-right: auto;
    margin-left: unset;
    font-size: 0.85em;
    color: #666;
}

html[dir="rtl"] .no-svg {
    text-align: center;
    color: var(--secondary);
    font-style: italic;
    padding: 2rem;
}

html[dir="rtl"] .file-input {
    display: none;
}

html[dir="rtl"] .instructions {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--secondary);
    text-align: center;
}

html[dir="rtl"] .download-btn-bottom {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 200px;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

html[dir="rtl"] .lang-link {
    position: absolute;
    left: 20px;
    right: unset;
    top: 20px;
    font-family: 'Tahoma', 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

html[dir="rtl"] .lang-link:hover {
    color: #0056b3;
}

/* New styles for color value boxes */
html[dir="rtl"] .color-value-boxes {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

html[dir="rtl"] .color-value-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

html[dir="rtl"] .color-value-label {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

html[dir="rtl"] .color-value-input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    text-align: right;
}

html[dir="rtl"] .color-value-input:focus {
    outline: none;
    border-color: var(--accent);
}

@media (max-width: 768px) {
    html[dir="rtl"] .editor-container {
        grid-template-columns: 1fr;
    }
    
    html[dir="rtl"] .svg-display {
        border-left: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        min-height: 300px;
        padding: 1rem;
    }
    
    html[dir="rtl"] .controls {
        padding: 1rem;
    }
    
    html[dir="rtl"] .color-wheel-container {
        height: 180px;
    }
    
    html[dir="rtl"] .slider-wrapper {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
    
    html[dir="rtl"] .slider-controls {
        width: 100%;
    }
    
    html[dir="rtl"] .elements-list {
        max-height: 200px;
    }

    /* Stack color boxes on mobile */
    html[dir="rtl"] .color-value-boxes {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    html[dir="rtl"] .container {
        padding: .5rem;
    }
    
    html[dir="rtl"] .svg-display {
        padding: .3rem;
    }
    
    html[dir="rtl"] header {
        margin-bottom: .5rem;
        padding-bottom: 0;
    }

    html[dir="rtl"] h1 {
        font-size: 1.1rem;
        text-align: right;
        margin-bottom: 0.3rem;
    }
    
    html[dir="rtl"] .upload-section {
        margin-bottom: .5rem;
    }

    html[dir="rtl"] .subtitle {
        font-size: .9rem;
        letter-spacing: 0px;
    }

    html[dir="rtl"] .editor-container {
        gap: 1rem;
    }
    
    html[dir="rtl"] .lang-link {
        left: 18px;
        top: 12px;
        font-size: 1.5rem;
    }
}

        /* -------------------- Footer Base Styles ------------------------- */

.footer {
  background-color: #f8f8f8; /* Light gray background */
  color: var(--grey-lit); /* Dark text color */
  padding: 40px 20px 20px;
  margin-top: 50px;
  border-top: 1px solid #e0e0e0; /* Subtle border */
  font-family: "Open Sans", sans-serif;
}

.footer-container {
    font-family: "Open Sans", sans-serif; 
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

/* Footer Sections */
.footer-section {
  flex: 1 1 200px; /* Flexible width for responsiveness */
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 12px;
}

.footer-links {
  line-height: 1.6;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a {
  color: var(--grey-lit); /* Medium gray for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--grey-med); /* Darker on hover */
}

/* Social Media Icons */
.social-media {
  display: flex;
  gap: 20px;
  justify-content: center; /* Centers horizontally */
}

.social-media img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.social-media img:hover {
  opacity: 0.6;
}

/* Footer Bottom (Copyright) */
.footer-bottom {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0; /* Subtle border */
  font-size: 15px;
  color: var(--grey-lit); /* Light gray text */
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px; /* Adjust size */
  height: 40px;
  background-color: #000; /* Black button */
  border: none;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  display: none; /* Hidden initially */
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.back-to-top img {
  width: 60%;
  height: 60%;
}

/* Show button when scrolling */
.back-to-top.show {
  display: flex;
}

/* Hover effect */
.back-to-top:hover {
  background-color: var(--grey-drk); /* Darker on hover */
  opacity: 1;
}

/* Sitemap Section */
.footer-section a[href*="sitemap"] {
  font-weight: bold;
  color: #000;
}

.footer-section a[href*="sitemap"]:hover {
  color: var(--grey-med);
}

@media (max-width: 768px) {
  .footer {
    padding: 20px 10px 20px;   }
  .footer-container {
    gap: 10px;   }
  .footer-section {
    text-align: center;
    margin-bottom: 12px;  }
  .footer-links li {
    font-size: 17px;
    margin-bottom: 12px;  }
}
  </pre></body></html>