body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0px;
    background-color: #f8f9fa;
    color: #333;
}

/* Theme support */
body.theme-light {
    color: #111;
    background-color: #f8f9fa;
}

body.theme-dark {
    color: #e9ecef;
    background-color: #2d3748;
}
body.theme-dark .txt-10{font-size: 10px;color: #e9ecef;}
body.theme-dark .txt-12{font-size: 14px;color: #e9ecef;}
body.theme-dark .txt-14{font-size: 14px;color: #e9ecef;}
body.theme-dark .txt-16{font-size: 16px;color: #e9ecef;}
body.theme-dark .txt-18{font-size: 18px;color: #e9ecef;}
body.theme-dark .txt-26{font-size: 26px;color: #e9ecef;}

.txt-10{font-size: 10px;color: #111;}
.txt-12{font-size: 14px;color: #111;}
.txt-14{font-size: 14px;color: #111;}
.txt-16{font-size: 16px;color: #111;}
.txt-18{font-size: 18px;color: #111;}
.txt-26{font-size: 26px;color: #111;}

.breadcrumb-item.active {
  color: #111;
}

body.theme-dark .breadcrumb-item.active {
  color: #e9ecef;
}
.container { 
    max-width: 1400px;
    max-width: 100%;
    margin: 0 auto;
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

body.theme-dark .container {
    background-color: #2d3748;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
}

body.theme-dark h1 {
    color: #e9ecef;
}

h2 {
    color: #34495e;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 500;
}

body.theme-dark h2 {
    color: #e9ecef;
}

.service-section {
    margin-bottom: 50px;
    padding: 30px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background-color: #f8f9fa;
}

body.theme-dark .service-section {
    background-color: #2d3748;
    border-color: #4a5568;
}

.section-description {
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 16px;
    text-align: center;
}

body.theme-dark .section-description {
    color: #a0aec0;
}

.upload-box {
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    background-color: white;
}

body.theme-dark .upload-box {
    background-color: #2d3748;
    border-color: #4a5568;
}

.upload-box:hover {
    border-color: #007bff;
}

body.theme-dark .upload-box:hover {
    border-color: #63b3ed;
}

.language-selection {
    margin-bottom: 30px;
    text-align: left;
}

.language-selection h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

body.theme-dark .language-selection h4 {
    color: #e9ecef;
}

.language-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

body.theme-dark .language-option {
    background-color: #2d3748;
    border-color: #4a5568;
}

.language-option:hover {
    border-color: #007bff;
    background-color: #f8f9ff;
}

body.theme-dark .language-option:hover {
    border-color: #63b3ed;
    background-color: #2c3e50;
}

.language-option input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.language-option input[type="checkbox"]:checked + .language-flag + .language-name {
    font-weight: 600;
    color: #007bff;
}

body.theme-dark .language-option input[type="checkbox"]:checked + .language-flag + .language-name {
    color: #63b3ed;
}

.language-option:has(input[type="checkbox"]:checked) {
    border-color: #007bff;
    background-color: #f8f9ff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

body.theme-dark .language-option:has(input[type="checkbox"]:checked) {
    border-color: #63b3ed;
    background-color: #2c3e50;
    box-shadow: 0 2px 8px rgba(99, 179, 237, 0.15);
}

.language-flag {
    font-size: 18px;
    margin-right: 8px;
    min-width: 24px;
    text-align: center;
    /* Ensure proper emoji rendering */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", "EmojiSymbols", sans-serif;
    font-variant-emoji: emoji;
    -webkit-font-feature-settings: "liga" off, "clig" off, "calt" off;
    font-feature-settings: "liga" off, "clig" off, "calt" off;
}

.language-name {
    font-size: 14px;
    font-weight: 500;
}

body.theme-dark .language-name {
    color: #e9ecef;
}

/* Language Toggle */
.language-toggle {
    text-align: center;
    margin-top: 15px;
}

.toggle-languages-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.toggle-languages-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.toggle-languages-btn:active {
    transform: translateY(0);
}

#toggle-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.translation-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

body.theme-dark .translation-error {
    background-color: #742a2a;
    color: #f8d7da;
    border-left-color: #f56565;
}

.translation-error p {
    margin: 0;
}

/* File Upload Section */
.file-upload-section {
    margin-bottom: 30px;
    text-align: left;
}

.file-upload-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

body.theme-dark .file-upload-section h4 {
    color: #e9ecef;
}

.file-list {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

body.theme-dark .file-list {
    background-color: #2d3748;
    border-color: #4a5568;
}

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

.selected-files li {
    padding: 12px 16px;
    margin: 8px 0;
    background-color: white;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    font-size: 14px;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

body.theme-dark .selected-files li {
    background-color: #2d3748;
    border-left-color: #63b3ed;
    color: #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.file-name {
    font-weight: 600;
    flex: 1;
}

.file-type {
    font-size: 12px;
    color: #6c757d;
    margin: 0 10px;
}

body.theme-dark .file-type {
    color: #a0aec0;
}

.file-size {
    font-size: 12px;
    color: #28a745;
    font-weight: 500;
}

body.theme-dark .file-size {
    color: #68d391;
}

.file-list-cart {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.file-list-cart li {
    padding: 4px 8px;
    margin: 2px 0;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
    color: #495057;
}

body.theme-dark .file-list-cart li {
    background-color: #2d3748;
    color: #e9ecef;
}

.file-list-small {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}

.file-tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

body.theme-dark .file-tag {
    background-color: #4a5568;
    color: #e9ecef;
}

/* Translation Section */
.translation-section {
    margin-bottom: 30px;
    text-align: left;
}

.translation-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

body.theme-dark .translation-section h4 {
    color: #e9ecef;
}

.translation-note {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
}

body.theme-dark .translation-note {
    color: #a0aec0;
}

.translation-languages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.translation-languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.translation-option {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

body.theme-dark .translation-option {
    background-color: #2d3748;
    border-color: #4a5568;
}

.translation-option:hover {
    border-color: #28a745;
    background-color: #f8fff8;
}

body.theme-dark .translation-option:hover {
    border-color: #68d391;
    background-color: #2c3e50;
}

.translation-option input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.translation-option input[type="checkbox"]:checked + .translation-flag + .translation-name {
    font-weight: 600;
    color: #28a745;
}

body.theme-dark .translation-option input[type="checkbox"]:checked + .translation-flag + .translation-name {
    color: #68d391;
}

.translation-option:has(input[type="checkbox"]:checked) {
    border-color: #28a745;
    background-color: #f8fff8;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
}

body.theme-dark .translation-option:has(input[type="checkbox"]:checked) {
    border-color: #68d391;
    background-color: #2c3e50;
    box-shadow: 0 2px 8px rgba(104, 211, 145, 0.15);
}

.translation-flag {
    font-size: 16px;
    margin-right: 8px;
    min-width: 20px;
    text-align: center;
    /* Ensure proper emoji rendering */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", "EmojiSymbols", sans-serif;
    font-variant-emoji: emoji;
    -webkit-font-feature-settings: "liga" off, "clig" off, "calt" off;
    font-feature-settings: "liga" off, "clig" off, "calt" off;
}

.translation-name {
    font-size: 14px;
    font-weight: 500;
}

body.theme-dark .translation-name {
    color: #e9ecef;
}

.translation-pricing-info {
    background-color: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    margin-top: 15px;
}

body.theme-dark .translation-pricing-info {
    background-color: #276749;
    border-left-color: #68d391;
}

.translation-pricing-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #155724;
}

body.theme-dark .translation-pricing-info p {
    color: #c6f6d5;
}

/* Translation Display in Cart */
.translation-display {
    margin: 10px 0;
    padding: 12px;
    background-color: #f8fff8;
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

body.theme-dark .translation-display {
    background-color: #276749;
    border-left-color: #68d391;
}

.translation-display p {
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

body.theme-dark .translation-display p {
    color: #e9ecef;
}

.translation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.translation-tag {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
    transition: transform 0.2s ease;
}

.translation-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(40, 167, 69, 0.3);
}

.translation-pricing {
    background-color: #e8f5e8;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

body.theme-dark .translation-pricing {
    background-color: #276749;
}

.translation-pricing p {
    margin: 2px 0;
    font-size: 13px;
    color: #155724;
}

body.theme-dark .translation-pricing p {
    color: #c6f6d5;
}

.translation-pricing em {
    font-style: italic;
    color: #28a745;
}

body.theme-dark .translation-pricing em {
    color: #68d391;
}

.file-info {
    margin: 25px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: left;
    border: 1px solid #e9ecef;
}

body.theme-dark .file-info {
    background-color: #2d3748;
    border-color: #4a5568;
}

.file-info p {
    margin: 10px 0;
    font-size: 14px;
}

body.theme-dark .file-info p {
    color: #e9ecef;
}

.file-info ul {
    margin: 10px 0;
    padding-left: 20px;
}

.file-info li {
    margin: 5px 0;
    font-size: 14px;
}

body.theme-dark .file-info li {
    color: #e9ecef;
}

.file-info em {
    color: #007bff;
    font-style: italic;
}

body.theme-dark .file-info em {
    color: #63b3ed;
}

.upload-box input[type="file"] {
    margin-bottom: 25px;
    display: block;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.optional-products {
    margin: 30px 0;
    text-align: left;
}

.optional-products h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

body.theme-dark .optional-products h3 {
    color: #e9ecef;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.product-option {
    position: relative;
}

.product-option input[type="checkbox"] {
    display: none;
}

.product-label {
    display: block;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    box-sizing: border-box;
}

body.theme-dark .product-label {
    background-color: #2d3748;
    border-color: #4a5568;
}

.product-option input[type="checkbox"]:checked + .product-label {
    border-color: #007bff;
    background-color: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

body.theme-dark .product-option input[type="checkbox"]:checked + .product-label {
    border-color: #63b3ed;
    background-color: #2c3e50;
    box-shadow: 0 4px 12px rgba(99, 179, 237, 0.15);
}

.standalone-products {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
}

body.theme-dark .standalone-products {
    background-color: #2d3748;
}

.standalone-product {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background-color: #fff;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

body.theme-dark .standalone-product {
    background-color: #2d3748;
    border-color: #4a5568;
}

.standalone-product:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

body.theme-dark .standalone-product:hover {
    border-color: #63b3ed;
    box-shadow: 0 4px 12px rgba(99, 179, 237, 0.15);
}

.product-info {
    margin-bottom: 20px;
}

.product-info h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

body.theme-dark .product-info h4 {
    color: #e9ecef;
}

.product-info p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

body.theme-dark .product-info p {
    color: #a0aec0;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #007bff;
    display: block;
}

body.theme-dark .product-price {
    color: #63b3ed;
}

/* Product Options */
.product-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-section,
.country-section,
.service-language-section,
.file-upload-section-service {
    display: flex;
    flex-direction: column;
}

.quantity-section label,
.country-section label,
.service-language-section label,
.file-upload-section-service label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

body.theme-dark .quantity-section label,
body.theme-dark .country-section label,
body.theme-dark .service-language-section label,
body.theme-dark .file-upload-section-service label {
    color: #e9ecef;
}

.quantity-input {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    width: 80px;
    transition: border-color 0.3s ease;
}

body.theme-dark .quantity-input {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e9ecef;
}

.quantity-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

body.theme-dark .quantity-input:focus {
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.country-section select,
.service-language-section select {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    transition: border-color 0.3s ease;
}

body.theme-dark .country-section select,
body.theme-dark .service-language-section select {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e9ecef;
}

.country-section select:focus,
.service-language-section select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

body.theme-dark .country-section select:focus,
body.theme-dark .service-language-section select:focus {
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

/* Enhanced Country Select Styling */
.country-select {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    transition: border-color 0.3s ease;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", "EmojiSymbols", sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body.theme-dark .country-select {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e9ecef;
}

.country-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

body.theme-dark .country-select:focus {
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.country-select option {
    padding: 8px 12px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", "EmojiSymbols", sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
}

body.theme-dark .country-select option {
    background-color: #2d3748;
    color: #e9ecef;
}

/* File Upload for Services */
.file-upload-section-service {
    grid-column: 1 / -1; /* Span full width */
}

.service-file-input {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

body.theme-dark .service-file-input {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e9ecef;
}

.service-file-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

body.theme-dark .service-file-input:focus {
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.file-upload-note {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

body.theme-dark .file-upload-note {
    color: #a0aec0;
}

.file-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 4px solid #dc3545;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    display: none;
}

body.theme-dark .file-error {
    background-color: #742a2a;
    color: #f8d7da;
    border-left-color: #f56565;
}

.uploaded-file-display {
    background-color: #d4edda;
    color: #155724;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    display: none;
}

body.theme-dark .uploaded-file-display {
    background-color: #276749;
    color: #c6f6d5;
    border-left-color: #68d391;
}

.add-to-cart-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.add-to-cart-btn:hover:not(:disabled) {
    background-color: #218838;
    transform: translateY(-1px);
}

.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.no-services {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

body.theme-dark .no-services {
    color: #a0aec0;
    background-color: #2d3748;
    border-color: #4a5568;
}

/* File Display in Cart */
.uploaded-file-info {
    margin: 8px 0;
    padding: 8px 12px;
    background-color: #e8f5e8;
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

body.theme-dark .uploaded-file-info {
    background-color: #276749;
    border-left-color: #68d391;
}

.uploaded-file-info p {
    margin: 0;
    font-size: 13px;
    color: #155724;
    font-weight: 500;
}

body.theme-dark .uploaded-file-info p {
    color: #c6f6d5;
}

.uploaded-file-name {
    font-family: monospace;
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

body.theme-dark .uploaded-file-name {
    background-color: #2d3748;
    color: #e9ecef;
}

.upload-box button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.upload-box button:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.message {
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

body.theme-dark .message.success {
    background-color: #276749;
    color: #c6f6d5;
    border-color: #68d391;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

body.theme-dark .message.error {
    background-color: #742a2a;
    color: #f8d7da;
    border-color: #f56565;
}

.cart {
    margin-top: 40px;
}

.empty-cart {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px;
}

body.theme-dark .empty-cart {
    color: #a0aec0;
}

.cart-item {
    border: 1px solid #e9ecef;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #f8f9fa;
    transition: box-shadow 0.3s ease;
}

body.theme-dark .cart-item {
    background-color: #2d3748;
    border-color: #4a5568;
}

.cart-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body.theme-dark .cart-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info p {
    margin: 5px 0;
    font-size: 14px;
}

.cart-item-info p strong {
    color: #2c3e50;
}

body.theme-dark .cart-item-info p strong {
    color: #e9ecef;
}

/* Enhanced Language Display in Cart */
.language-display {
    margin: 10px 0;
    padding: 12px;
    background-color: #f8f9ff;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

body.theme-dark .language-display {
    background-color: #2c3e50;
    border-left-color: #63b3ed;
}

.language-display p {
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

body.theme-dark .language-display p {
    color: #e9ecef;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.language-tag {
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
    transition: transform 0.2s ease;
}

.language-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 123, 255, 0.3);
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.services-list li {
    padding: 4px 8px;
    margin: 2px 0;
    background-color: #e3f2fd;
    border-radius: 4px;

/* Additional Elements in Cart */
.additional-elements-list {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9ff;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

body.theme-dark .additional-elements-list {
    background-color: #2c3e50;
    border-left-color: #63b3ed;
}

.additional-elements-list strong {
    color: #2c3e50;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

body.theme-dark .additional-elements-list strong {
    color: #e9ecef;
}

.additional-elements-list ul {
    margin: 5px 0 10px 0;
    padding-left: 20px;
    list-style: none;
}

.additional-elements-list li {
    margin: 5px 0;
    padding: 8px 12px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

body.theme-dark .additional-elements-list li {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e9ecef;
}

.element-country {
    color: #6c757d;
    font-size: 12px;
    font-style: italic;
    margin-left: 5px;
}

body.theme-dark .element-country {
    color: #a0aec0;
}

.element-price {
    color: #007bff;
    font-weight: 600;
    font-size: 14px;
}

body.theme-dark .element-price {
    color: #63b3ed;
}

.additional-elements-total {
    margin-top: 10px;
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    border: 2px solid #007bff;
    text-align: right;
}

body.theme-dark .additional-elements-total {
    background-color: #2d3748;
    border-color: #63b3ed;
}

.additional-elements-total strong {
    color: #007bff;
    font-size: 16px;
}

body.theme-dark .additional-elements-total strong {
    color: #63b3ed;
}
    font-size: 13px;
    color: #1976d2;
}

body.theme-dark .services-list li {
    background-color: #2c5282;
    color: #bee3f8;
}

/* Additional Elements Styles */
.additional-elements-section {
    margin-bottom: 30px;
    text-align: left;
}

.additional-elements-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

body.theme-dark .additional-elements-section h4 {
    color: #e9ecef;
}

.additional-elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.additional-element-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
}

body.theme-dark .additional-element-option {
    background-color: #2d3748;
    border-color: #4a5568;
}

.additional-element-option:hover {
    border-color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
}

body.theme-dark .additional-element-option:hover {
    border-color: #63b3ed;
    box-shadow: 0 4px 8px rgba(99, 179, 237, 0.15);
}

.additional-element-option:has(input[type="checkbox"]:checked) {
    border-color: #28a745;
    background-color: #f8fff8;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

body.theme-dark .additional-element-option:has(input[type="checkbox"]:checked) {
    border-color: #68d391;
    background-color: #276749;
    box-shadow: 0 4px 12px rgba(104, 211, 145, 0.2);
}

.element-label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.element-label input[type="checkbox"] {
    display: none;
}

.element-content {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.element-info {
    flex: 1;
}

.element-info strong {
    display: block;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 8px;
}

body.theme-dark .element-info strong {
    color: #e9ecef;
}

.element-price {
    font-size: 18px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}

body.theme-dark .element-price {
    color: #63b3ed;
}

.element-note {
    color: #6c757d;
    font-size: 12px;
    font-style: italic;
}

body.theme-dark .element-note {
    color: #a0aec0;
}

.element-country-selection {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

body.theme-dark .element-country-selection {
    background-color: #1a202c;
    border-top-color: #4a5568;
}

.element-country-selection label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

body.theme-dark .element-country-selection label {
    color: #e9ecef;
}

.element-country-selection select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    transition: border-color 0.3s ease;
}

body.theme-dark .element-country-selection select {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e9ecef;
}

.element-country-selection select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

body.theme-dark .element-country-selection select:focus {
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.no-elements {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

body.theme-dark .no-elements {
    color: #a0aec0;
    background-color: #2d3748;
    border-color: #4a5568;
}

/* Additional Elements in Cart Display */
.additional-elements-display {
    margin: 10px 0;
    padding: 12px;
    background-color: #fff3cd;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
}

body.theme-dark .additional-elements-display {
    background-color: #744210;
    border-left-color: #faf089;
}

.additional-elements-display p {
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

body.theme-dark .additional-elements-display p {
    color: #faf089;
}

.element-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.element-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
    transition: transform 0.2s ease;
}

.element-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(255, 193, 7, 0.3);
}

.element-pricing {
    background-color: #fff3cd;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

body.theme-dark .element-pricing {
    background-color: #744210;
}

.element-pricing p {
    margin: 2px 0;
    font-size: 13px;
    color: #856404;
}

body.theme-dark .element-pricing p {
    color: #faf089;
}

.element-pricing em {
    font-style: italic;
    color: #ffc107;
}

body.theme-dark .element-pricing em {
    color: #faf089;
}

/* Additional Elements in Invoice */
.additional-elements-section-invoice {
    background-color: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin-bottom: 30px;
}

body.theme-dark .additional-elements-section-invoice {
    background-color: #744210;
    border-left-color: #faf089;
}

.additional-elements-section-invoice h4 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1rem;
    font-weight: 600;
}

body.theme-dark .additional-elements-section-invoice h4 {
    color: #faf089;
}

.additional-elements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.additional-element-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

body.theme-dark .additional-element-item {
    background-color: #2d3748;
    border-color: #4a5568;
}

.element-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    text-transform: capitalize;
}

body.theme-dark .element-name {
    color: #e9ecef;
}

.element-country {
    font-size: 12px;
    color: #6c757d;
    margin-left: 4px;
}

body.theme-dark .element-country {
    color: #a0aec0;
}

.additional-elements-summary {
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

body.theme-dark .additional-elements-summary {
    background-color: #2d3748;
    border-color: #4a5568;
}

.additional-elements-summary p {
    margin: 5px 0;
    font-size: 14px;
    color: #856404;
}

body.theme-dark .additional-elements-summary p {
    color: #faf089;
}

/* CMS Styles for Additional Elements */
.element-key {
    background-color: #f8f9fa;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
}

body.theme-dark .element-key {
    background-color: #4a5568;
    color: #e9ecef;
}

.feature-badge-no {
    background-color: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.edit-form-elements {
    display: none;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
}

body.theme-dark .edit-form-elements {
    background-color: #1a202c;
}

.edit-form-elements.active {
    display: block;
}

.cart-item-price {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.cart-item-price p {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
}

body.theme-dark .cart-item-price p {
    color: #e9ecef;
}

.cart-summary {
    margin: 25px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

body.theme-dark .cart-summary {
    background-color: #2d3748;
    border-color: #4a5568;
}

.word-count-summary h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

body.theme-dark .word-count-summary h4 {
    color: #e9ecef;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

body.theme-dark .summary-item {
    border-bottom-color: #4a5568;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

body.theme-dark .summary-label {
    color: #a0aec0;
}

.summary-value {
    font-weight: 600;
    color: #007bff;
    font-size: 16px;
}

body.theme-dark .summary-value {
    color: #63b3ed;
}

.cart-total {
    margin-top: 30px;
    text-align: right;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

body.theme-dark .cart-total {
    background-color: #2d3748;
}

.remove-btn {
    color: #dc3545;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #dc3545;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.remove-btn:hover {
    background-color: #dc3545;
    color: white;
}

.checkout-btn {
    display: inline-block;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #218838;
}

#progress {
    margin: 30px 0;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
}

body.theme-dark #progress {
    background-color: #2d3748;
    border-color: #4a5568;
}

.progress-header {
    margin-bottom: 20px;
}

.progress-header h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

body.theme-dark .progress-header h4 {
    color: #e9ecef;
}

#language-info {
    color: #007bff;
    font-weight: 500;
    margin: 0;
}

body.theme-dark #language-info {
    color: #63b3ed;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
}

body.theme-dark .progress-bar {
    background-color: #4a5568;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transition: width 0.3s ease-in-out;
}

#status-text {
    color: #6c757d;
    margin: 15px 0;
    font-size: 14px;
    font-weight: 500;
}

body.theme-dark #status-text {
    color: #a0aec0;
}

#word-count-preview {
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: left;
}

body.theme-dark #word-count-preview {
    background-color: #2d3748;
    border-color: #4a5568;
}

#word-count-preview h5 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

body.theme-dark #word-count-preview h5 {
    color: #e9ecef;
}

.language-count-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

body.theme-dark .language-count-item {
    border-bottom-color: #4a5568;
}

.language-count-item:last-child {
    border-bottom: none;
}

.count-type {
    font-weight: 500;
    color: #495057;
}

body.theme-dark .count-type {
    color: #a0aec0;
}

.count-value {
    font-weight: 600;
    color: #007bff;
    font-size: 16px;
}

body.theme-dark .count-value {
    color: #63b3ed;
}

/* Theme switcher styles */
.theme-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    z-index: 1000;
}

body.theme-dark .theme-switcher {
    background-color: #2d3748;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.theme-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.theme-option:hover {
    transform: scale(1.1);
}

.theme-light {
    background-color: #f8f9fa;
    color: #343a40;
    border: 1px solid #dee2e6;
}

body.theme-dark .theme-light {
    border-color: #4a5568;
}

.theme-dark {
    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #495057;
}

.theme-auto {
    background: linear-gradient(135deg, #f8f9fa 50%, #343a40 50%);
    color: #343a40;
    border: 1px solid #dee2e6;
}

body.theme-dark .theme-auto {
    border-color: #4a5568;
}

.theme-option.active {
    box-shadow: 0 0 0 2px #007bff;
}

body.theme-dark .theme-option.active {
    box-shadow: 0 0 0 2px #63b3ed;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

body.theme-dark .site-header {
    background-color: #2d3748;
    border-bottom-color: #4a5568;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Site Branding Alignment */
.site-branding {
    display: flex; /* Enable flexbox for inline alignment */
    align-items: center; /* Vertically center items */
    gap: 10px; /* Space between logo and title group */
}

.site-title-group {
    /* This div wraps the h1 and p, so they remain stacked */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title {
    margin: 0; /* Remove default top/bottom margin from h1 */
    line-height: 1.2; /* Adjust line height for better vertical spacing */
}

.site-tagline {
    margin: 0; /* Remove default top/bottom margin from p */
    font-size: 0.9em; /* Adjust as needed */
    color: #6c757d; /* Example color for tagline */
}

body.theme-dark .site-tagline {
    color: #a0aec0;
}

/* Adjustments for smaller screens if needed */
@media (max-width: 768px) {
    .site-branding {
        flex-wrap: wrap; /* Allow items to wrap if space is limited */
        justify-content: center; /* Center items when wrapped */
        text-align: center; /* Center text when wrapped */
    }
    .site-title-group {
        align-items: center; /* Center text within the group when wrapped */
    }
}


/* Footer Styles */
.site-footer {
    /*background-color: #2c3e50;*/
    color: #111;
    padding: 40px 0 20px 0;
    margin-top: 60px;
}
body.theme-dark .site-footer {
    /*background-color: #2c3e50;*/
    color: #ecf0f1;
    padding: 40px 0 20px 0;
    margin-top: 60px;
}
.footer-content {
    /*display: grid;*/
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.footer-info h3 {
    color: #ecf0f1;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.footer-info p {
    color: #bdc3c7;
    margin: 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}


.links {
    color: #2c3e50;
}

.links:hover {
    color: #3498db;
    
}
body.theme-dark .links {
    color: #ffffff;
    
}
body.theme-dark .links:hover {
    color: #3498db;
    
}
footer p{
    color: #2c3e50;
}
body.theme-dark footer p{
    color: #ffffff;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Privacy Policy and Terms & Conditions Styles */
.privacy-policy,
.terms-conditions {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body.theme-dark .privacy-policy,
body.theme-dark .terms-conditions {
    background-color: #2d3748;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.privacy-policy h1,
.terms-conditions h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

body.theme-dark .privacy-policy h1,
body.theme-dark .terms-conditions h1 {
    color: #e9ecef;
}

.privacy-policy p,
.terms-conditions p {
    color: #495057;
    margin-bottom: 15px;
    line-height: 1.6;
}

body.theme-dark .privacy-policy p,
body.theme-dark .terms-conditions p {
    color: #a0aec0;
}

.privacy-policy section,
.terms-conditions section {
    margin-bottom: 30px;
}

.privacy-policy h2,
.terms-conditions h2 {
    color: #2c3e50;
    margin: 25px 0 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

body.theme-dark .privacy-policy h2,
body.theme-dark .terms-conditions h2 {
    color: #e9ecef;
    border-bottom-color: #4a5568;
}

.privacy-policy h3,
.terms-conditions h3 {
    color: #2c3e50;
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

body.theme-dark .privacy-policy h3,
body.theme-dark .terms-conditions h3 {
    color: #e9ecef;
}

.privacy-policy ul,
.terms-conditions ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-policy li,
.terms-conditions li {
    margin-bottom: 8px;
    color: #495057;
}

body.theme-dark .privacy-policy li,
body.theme-dark .terms-conditions li {
    color: #a0aec0;
}

.privacy-policy strong,
.terms-conditions strong {
    color: #2c3e50;
}

body.theme-dark .privacy-policy strong,
body.theme-dark .terms-conditions strong {
    color: #e9ecef;
}

@media (max-width: 768px) {
    .privacy-policy,
    .terms-conditions {
        padding: 15px;
    }
    
    .privacy-policy h1,
    .terms-conditions h1 {
        font-size: 1.8rem;
    }
    
    .privacy-policy h2,
    .terms-conditions h2 {
        font-size: 1.3rem;
    }
    
    .privacy-policy h3,
    .terms-conditions h3 {
        font-size: 1.1rem;
    }
}

/* Enhanced Checkout Page Styles */
.checkout-form {
    max-width: none;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 30px;
}

.customer-info-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

body.theme-dark .customer-info-section {
    background-color: #2d3748;
    border-color: #4a5568;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

body.theme-dark .form-group label {
    color: #e9ecef;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

body.theme-dark .form-group input,
body.theme-dark .form-group select,
body.theme-dark .form-group textarea {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e9ecef;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

body.theme-dark .form-group input:focus,
body.theme-dark .form-group select:focus,
body.theme-dark .form-group textarea:focus {
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

body.theme-dark .form-group input.error,
body.theme-dark .form-group select.error {
    border-color: #f56565;
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.address-section {
    margin-bottom: 30px;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

body.theme-dark .address-section {
    background-color: #2d3748;
    border-color: #4a5568;
}

.address-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

body.theme-dark .address-section h3 {
    color: #e9ecef;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
    cursor: pointer;
}

body.theme-dark .checkbox-label {
    color: #a0aec0;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.options-section {
    margin-bottom: 30px;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

body.theme-dark .options-section {
    background-color: #2d3748;
    border-color: #4a5568;
}

.options-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

body.theme-dark .options-section h3 {
    color: #e9ecef;
}

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

.option-label {
    display: block;
    cursor: pointer;
}

.option-label input[type="radio"] {
    display: none;
}

.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
}

body.theme-dark .option-content {
    background-color: #2d3748;
    border-color: #4a5568;
}

.option-label input[type="radio"]:checked + .option-content {
    border-color: #007bff;
    background-color: #f8f9ff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

body.theme-dark .option-label input[type="radio"]:checked + .option-content {
    border-color: #63b3ed;
    background-color: #2c3e50;
    box-shadow: 0 2px 8px rgba(99, 179, 237, 0.15);
}

.option-info strong {
    display: block;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 4px;
}

body.theme-dark .option-info strong {
    color: #e9ecef;
}

.option-info p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

body.theme-dark .option-info p {
    color: #a0aec0;
}

.option-price {
    font-weight: 700;
    color: #007bff;
    font-size: 16px;
}

body.theme-dark .option-price {
    color: #63b3ed;
}

/* Terms Checkbox Styling */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

body.theme-dark .terms-checkbox {
    background-color: #2d3748;
    border-left-color: #63b3ed;
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 3px;
    transform: scale(1.2);
}

.terms-checkbox label {
    font-size: 14px;
    color: #495057;
    line-height: 1.4;
}

body.theme-dark .terms-checkbox label {
    color: #a0aec0;
}

.terms-checkbox a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

body.theme-dark .terms-checkbox a {
    color: #63b3ed;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.terms-checkbox input[type="checkbox"].error {
    outline: 2px solid #dc3545;
}

.order-summary-section {
    position: sticky;
    top: 20px;
    height: fit-content;
    background: #fff;
}

body.theme-dark .order-summary-section {
    background: #2d3748;
}

.order-summary {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

body.theme-dark .order-summary {
    background-color: #2d3748;
    border-color: #4a5568;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

body.theme-dark .order-item {
    border-bottom-color: #4a5568;
}

.order-item:last-child {
    border-bottom: none;
}

.item-details .filename {
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px 0;
    font-size: 14px;
}

body.theme-dark .item-details .filename {
    color: #e9ecef;
}

.item-details .word-count {
    color: #6c757d;
    font-size: 13px;
    margin: 0 0 5px 0;
}

body.theme-dark .item-details .word-count {
    color: #a0aec0;
}

.item-details .services {
    color: #007bff;
    font-size: 12px;
    margin: 0;
    font-style: italic;
}

body.theme-dark .item-details .services {
    color: #63b3ed;
}

.item-price {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    text-align: right;
}

body.theme-dark .item-price {
    color: #e9ecef;
}

.pricing-summary {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

body.theme-dark .pricing-summary {
    border-top-color: #4a5568;
}

.pricing-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
    font-size: 14px;
}

.pricing-line.total-line {
    font-size: 18px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    margin-top: 15px;
}

body.theme-dark .pricing-line.total-line {
    border-top-color: #4a5568;
}

.payment-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #e9ecef;
}

body.theme-dark .payment-section {
    border-top-color: #4a5568;
}

.payment-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

body.theme-dark .payment-section h3 {
    color: #e9ecef;
}

.payment-methods {
    margin-bottom: 25px;
}

.payment-method-selector {
    margin-bottom: 12px;
}

.payment-method-selector input[type="radio"] {
    display: none;
}

.payment-method-option {
    display: block;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

body.theme-dark .payment-method-option {
    background-color: #2d3748;
    border-color: #4a5568;
}

.payment-method-selector input[type="radio"]:checked + .payment-method-option {
    border-color: #007bff;
    background-color: #f8f9ff;
}

body.theme-dark .payment-method-selector input[type="radio"]:checked + .payment-method-option {
    border-color: #63b3ed;
    background-color: #2c3e50;
}

.payment-method-header {
    display: flex;
    align-items: center;
}

.payment-method-icon {
    font-size: 20px;
    margin-right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.stripe-icon {
    background-color: #6772e5;
    color: white;
}

.paypal-icon {
    background-color: #0070ba;
    color: white;
}

.payment-method-info h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

body.theme-dark .payment-method-info h4 {
    color: #e9ecef;
}

.payment-method-info p {
    margin: 0;
    font-size: 12px;
    color: #6c757d;
}

body.theme-dark .payment-method-info p {
    color: #a0aec0;
}

.payment-buttons {
    margin-bottom: 20px;
}

.payment-option {
    display: none;
}

.payment-option.active {
    display: block;
}

.payment-button {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stripe-button {
    background-color: #6772e5;
    color: white;
}

.stripe-button:hover:not(:disabled) {
    background-color: #5469d4;
    transform: translateY(-1px);
}

.stripe-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-icon {
    font-size: 16px;
}

.security-info {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

body.theme-dark .security-info {
    background-color: #2d3748;
    border-left-color: #68d391;
}

.security-info p {
    margin: 4px 0;
    font-size: 12px;
    color: #6c757d;
}

body.theme-dark .security-info p {
    color: #a0aec0;
}

/* PayPal button styling */
#paypal-button-container {
    margin-bottom: 10px;
}

/* Enhanced Success page styles */
.success-message {
    text-align: center;
    padding: 60px 20px;
    max-width: 100%;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.success-message h1 {
    color: #28a745;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 600;
}

body.theme-dark .success-message h1 {
    color: #68d391;
}

.success-message > p {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 30px;
}

body.theme-dark .success-message > p {
    color: #a0aec0;
}

.success-details {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: left;
    border: 1px solid #e9ecef;
}

body.theme-dark .success-details {
    background-color: #2d3748;
    border-color: #4a5568;
}

.success-details p {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: #2c3e50;
}

body.theme-dark .success-details p {
    color: #e9ecef;
}

.success-details ul {
    margin: 0;
    padding-left: 20px;
}

.success-details li {
    margin: 8px 0;
    color: #495057;
}

body.theme-dark .success-details li {
    color: #a0aec0;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
}

.button.primary {
    background-color: #007bff;
    color: white;
}

.button.primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.button.secondary {
    background-color: #6c757d;
    color: white;
}

.button.secondary:hover {
    background-color: #545b62;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .order-summary-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .language-options {
        grid-template-columns: 1fr;
    }
    
    .translation-languages {
        grid-template-columns: 1fr;
    }
    
    .translation-languages-grid {
        grid-template-columns: 1fr;
    }
    
    .standalone-product {
        padding: 20px;
    }
    
    .customer-info-section,
    .order-summary {
        padding: 20px;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .button {
        width: 100%;
        max-width: 300px;
    }
    
    .language-tags {
        gap: 4px;
    }
    
    .language-tag {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .translation-tags {
        gap: 4px;
    }
    
    .translation-tag {
        font-size: 11px;
        padding: 3px 8px;
    }
}
/* Site Logo Responsiveness */
.site-logo-link {
    display: flex; /* Allows for alignment of logo if needed */
    align-items: center;
    text-decoration: none;
}

.site-logo {
    max-width: 100%; /* Ensures the image doesn't overflow its container */
    /*height: auto;*/ /* Maintains aspect ratio */
    max-height: 70px; /* Sets a maximum height for desktop displays */
    margin-right: 10px; /* Adds some spacing to the right of the logo */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .site-logo {
        max-height: 65px; /* Slightly smaller logo on mobile */
        margin-right: 8px;
    }
    /* If your site title is also a logo, you might want to adjust its font size */
    .site-title {
        font-size: 1.5rem; /* Example adjustment */
    }
}

@media (max-width: 480px) {
    .site-logo {
        max-height: 65px; /* Even smaller on very small screens */
        margin-right: 5px;
    }
    .site-title {
        font-size: 1.3rem; /* Example adjustment */
    }
}
/* Top Bar Styles */
/* Adjust .top-bar-content to handle the new nav structure */
.top-bar-content {
    display: flex;
    justify-content: right;
    align-items: center;
    flex-wrap: wrap;
    /* Remove gap from here if it was applied to the container */
}

/* Style the new top-nav menu */
.top-nav {
    /* This is the <nav> element generated by displayNavigation */
    /* It needs to be a flex container itself to manage its items */
    display: flex;
    align-items: center;
    list-style: none; /* Ensure no list bullets */
    margin: 0;
    padding: 0;
    gap: 15px; /* Apply gap here for social icons */
}





.top-nav .nav-menu {
    /* This is the <ul> inside the <nav> */
    /* It inherits display:flex from .top-nav, but let's be explicit */
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px; /* Ensure gap is applied to the ul's children */
}

.top-nav .nav-item {
    /* No specific styling needed here unless there are special cases */
}

.top-nav .nav-link {
    /* Style for the actual social links */
    color: #495057; /* Or a specific social icon color */
    font-size: 1.0rem;
    transition: color 0.2s ease;
    padding: 0; /* Remove padding that might come from main nav styles */
    border-bottom: none; /* Remove border that might come from main nav styles */
}

body.theme-dark .top-nav .nav-link {
    color: #a0aec0;
}

.top-nav .nav-link:hover {
    color: #007bff;
    background-color: transparent; /* Ensure no background on hover */
}

body.theme-dark .top-nav .nav-link:hover {
    color: #63b3ed;
}

/* Ensure icons within social links are styled */
.top-nav .nav-link i {
    font-size: 1.4rem; /* Match the font size of the link */
}

/* Responsive adjustments for top nav */
@media (max-width: 768px) {
    .top-nav {
        justify-content: center; /* Center social icons on small screens */
        width: 100%;
    }
}

/* Top Bar Styles */
.top-bar {
    background-color: #f8f9fa; /* Light background for light theme */
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e9ecef;
}

body.theme-dark .top-bar {
    background-color: #1a0606; /* Dark background for dark theme */
    border-bottom-color: #374151;
}

.top-bar-content {
    display: flex;
    justify-content: right;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.top-bar-phone {
    padding: 5px 15px;
  background: #007bff;
  color: #fff;
  border-radius: 10px;
    font-weight: 600;
    
}
.top-bar-email {
    padding: 5px 15px;
  background: #007bff;
  color: #fff;
  border-radius: 10px;
    font-weight: 600;
}

body.theme-dark .top-bar-phone {
   padding: 5px 15px;
  background: #007bff;
  color: #fff;
  border-radius: 10px;
    font-weight: 600;
}
body.theme-dark .top-bar-email {
    padding: 5px 15px;
  background: #007bff;
  color: #fff;
  border-radius: 10px;
    font-weight: 600;
}

.top-bar-phone a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.top-bar-email a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

body.theme-dark .top-bar-phone a {
    color: #fff;
}
body.theme-dark .top-bar-email a {
    color: #fff;
}

.top-bar-phone a:hover {
    color: #63b3ed;
}
.top-bar-email a:hover {
    color: #63b3ed;
}

body.theme-dark .top-bar-phone a:hover {
    color: #63b3ed;
}
body.theme-dark .top-bar-email a:hover {
    color: #63b3ed;
}

.top-bar-phone i {
    font-size: 1.4rem;
}
.top-bar-email i {
    font-size: 1.4rem;
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    color: #495057;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

body.theme-dark .top-bar-social a {
    color: #a0aec0;
}

.top-bar-social a:hover {
    color: #007bff; /* Primary color for hover */
}

body.theme-dark .top-bar-social a:hover {
    color: #63b3ed;
}

/* Responsive adjustments for top bar */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: right;
    }
    .top-bar-phone,
    .top-bar-email,
    .top-bar-social {
        justify-content: center;
        width: 100%;
    }
   
}
