/* Doviz 4.0 - Currency Exchange Office Styles */

/* Light/Dark Mode Variables */
:root {
    /* Light Theme (Default) */
    --background-color: #f0f2f5;
    --card-bg: #ffffff;
    --text-color: #333333;
    --header-bg: #ffffff;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-border: none;
    --card-gold-bg: #fff9e6;
    --card-gold-border: 1px solid #ffd700;
    --positive-color: #28a745;
    --negative-color: #dc3545;
    --neutral-color: #6c757d;
    --table-header-bg: #343a40;
    --table-header-text: #ffffff;
    --table-row-hover: rgba(0, 0, 0, 0.03);
    --slider-bg: #343a40;
    --slider-text: #ffffff;
    --slider-button-bg: rgba(0, 0, 0, 0.3);
    --slider-button-hover: rgba(0, 0, 0, 0.5);
}

/* Dark Theme */
.dark-theme {
    --background-color: #121212;
    --card-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --header-bg: #1e1e1e;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --card-border: 1px solid #333;
    --card-gold-bg: #2d2815;
    --card-gold-border: 1px solid #b5a642;
    --positive-color: #4caf50;
    --negative-color: #f44336;
    --neutral-color: #9e9e9e;
    --table-header-bg: #1e1e1e;
    --table-header-text: #e0e0e0;
    --table-row-hover: rgba(255, 255, 255, 0.05);
    --slider-bg: #121212;
    --slider-text: #e0e0e0;
    --slider-button-bg: rgba(255, 255, 255, 0.15);
    --slider-button-hover: rgba(255, 255, 255, 0.25);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Header Styles */
header {
    background-color: var(--header-bg);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

/* Logo styles defined at bottom of file */

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.dark-theme .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    font-weight: 600;
}

/* Mobile Nav Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .logo-container {
        justify-content: space-between;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
        flex-direction: column;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
        margin-left: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 0;
    }
}

/* Currency Slider */
.currency-slider-container {
    position: relative;
    width: 100%;
    background-color: var(--slider-bg);
    color: var(--slider-text);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.currency-slider {
    display: flex;
    padding: 15px 0;
    white-space: nowrap;
    animation: slide 40s linear infinite;
    width: fit-content;
}

.currency-slider:hover {
    animation-play-state: paused;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-20%);
    }
}

.currency-item {
    display: inline-flex;
    flex-direction: column;
    margin-right: 60px;
    align-items: center;
    padding: 0 10px;
}

.currency-name {
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--slider-text);
}

.currency-rates {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

.currency-rates span {
    white-space: nowrap;
}

.currency-buying {
    color: #dc3545;
}

.currency-selling {
    color: #28a745;
}

/* Status Bar */
.status-bar {
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    border-radius: 8px;
    margin: 20px 0;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.update-info, .next-update {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.update-info i, .next-update i {
    color: var(--neutral-color);
}

/* Main Content */
.content-container {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.content-section {
    width: calc(50% - 10px);
    margin: 0;
}

.section-header {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.section-header i {
    margin-right: 10px;
    color: var(--neutral-color);
}

/* Rate Tables */
.rate-cards {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
}

.rate-cards thead {
    background-color: var(--table-header-bg);
    color: var(--table-header-text);
}

.rate-cards th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: none;
}

.rate-cards td {
    padding: 12px 15px;
    vertical-align: middle;
}

.rate-cards tr:hover {
    background-color: var(--table-row-hover);
}

.rate-card {
    display: flex;
    align-items: center;
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    transition: none;
    position: static;
    overflow: visible;
}

.rate-card:hover {
    transform: none;
    box-shadow: none;
}

.rate-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.rate-icon {
    font-size: 1.2rem;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.gold .rate-icon {
    color: #daa520;
}

.rate-name {
    font-size: 1rem;
    font-weight: 500;
}

.rate-type {
    display: none;
}

.buying-value, .selling-value {
    font-size: 1.1rem;
    font-weight: 500;
    width: 120px;
    text-align: center;
    background-color: transparent;
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
    min-width: 100px;
}

.buying-value {
    background-color: #dc3545;
    color: white;
    border-radius: 4px;
}

.selling-value {
    background-color: #28a745;
    color: white;
    border-radius: 4px;
}

.dark-theme .buying-value {
    background-color: #dc3545;
}

.dark-theme .selling-value {
    background-color: #28a745;
}

/* Corner indicator for rate change */
.corner-indicator {
    display: none;
}

/* Error Message */
.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    text-align: center;
    color: #dc3545;
    gap: 15px;
}

.error-message i {
    font-size: 2rem;
}

/* Placeholder loading animation */
.rate-card.placeholder {
    animation: pulse 1.5s infinite alternate;
}

.placeholder-text {
    height: 1rem;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 8px;
    width: 100%;
}

.dark-theme .placeholder-text {
    background-color: rgba(255, 255, 255, 0.1);
}

.placeholder-text.small {
    width: 40%;
    height: 0.8rem;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

/* Table formatting for icon and currency code */
.rate-cards td:first-child {
    white-space: nowrap;
}

.rate-cards td:first-child i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Adjust column widths */
.rate-cards td:nth-child(2),
.rate-cards td:nth-child(3),
.rate-cards th:nth-child(2),
.rate-cards th:nth-child(3) {
    width: 1%;
    white-space: nowrap;
}

/* Mobile optimizations for currency tables */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }
    
    .content-section {
        width: 100%;
    }
    
    .rate-cards {
        width: 100%;
        font-size: 0.9rem;
        table-layout: fixed;
    }
    
    .rate-cards th,
    .rate-cards td {
        padding: 10px 5px;
    }
    
    .rate-cards th:first-child,
    .rate-cards td:first-child {
        width: 50%;
        text-align: left;
    }
    
    .rate-cards th:nth-child(2),
    .rate-cards th:nth-child(3),
    .rate-cards td:nth-child(2),
    .rate-cards td:nth-child(3) {
        width: 25%;
        text-align: center;
    }
    
    .buying-value,
    .selling-value {
        padding: 6px 2px;
        margin: 0;
        font-size: 0.85rem;
    }
    
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .status-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Even smaller mobile screens */
@media (max-width: 480px) {
    .content-section {
        padding: 0;
    }
    
    .rate-cards {
        margin: 0;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .rate-cards tbody {
        display: block;
    }
    
    .rate-cards tr {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    }
    
    .rate-cards tr:last-child {
        border-bottom: none;
    }
    
    .rate-cards td {
        padding: 5px;
    }
    
    .rate-cards td:first-child {
        width: 40%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.9rem;
    }
    
    .rate-cards td:nth-child(2),
    .rate-cards td:nth-child(3) {
        width: 30%;
        text-align: center;
    }
    
    .buying-value,
    .selling-value {
        padding: 8px 4px;
        font-size: 0.9rem;
        width: 100%;
        display: block;
        min-width: 0;
    }
    
    .section-header {
        margin-bottom: 10px;
        padding-left: 10px;
    }
}

/* Features Section */
.features-section {
    margin: 40px 0;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.features-container {
    display: flex;
    flex-direction: row;
}

.features-content {
    flex: 1;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.dark-theme .feature-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.feature-item:hover {
    background-color: var(--table-row-hover);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background-color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--text-color);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Light theme overrides */
:root:not(.dark-theme) .feature-icon {
    background-color: #f0f0f0;
}

:root:not(.dark-theme) .feature-icon i {
    color: #222222;
}

.feature-details {
    flex-grow: 1;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.feature-description {
    font-size: 0.9rem;
    color: var(--neutral-color);
    line-height: 1.5;
}

.features-image {
    flex: 1;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.features-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.dark-theme .features-image::before {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

/* Media Queries */
@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
    }
    
    .features-image {
        min-height: 200px;
        order: -1;
    }
}

/* About Us Section */
.about-section {
    margin: 40px 0;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
}

.about-container {
    display: flex;
    flex-direction: column;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--text-color);
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
}

.about-text {
    flex: 2;
}

.about-paragraph {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1rem;
}

.about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 30px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-theme .about-stats {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--positive-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--neutral-color);
}

.about-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(0, 123, 255, 0.1));
    border-radius: 0 0 0 100%;
    z-index: 1;
}

.dark-theme .about-decoration {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(33, 150, 243, 0.1));
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-stats {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 20px;
        margin-top: 10px;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .dark-theme .about-stats {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: none;
    }
    
    .stat-item {
        flex: 1;
        min-width: 120px;
    }
}

/* Currency Converter Calculator */
.converter-section {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin: 2rem 0;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.converter-title {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 5px;
}

.converter-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
}

.converter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.converter-main {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    padding: 0.5rem;
}

.dark-theme .converter-main {
    background-color: rgba(255, 255, 255, 0.05);
}

.input-amount {
    flex: 1;
    min-width: 80px;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 0.5rem;
    margin-right: 0.5rem;
}

.amount-field {
    width: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px;
    border: none;
    background-color: transparent;
    color: var(--text-color);
    text-align: left;
}

.amount-field:focus {
    outline: none;
}

.currency-selectors {
    display: flex;
    align-items: center;
    flex: 3;
    background-color: transparent;
}

.currency-select-container {
    display: flex;
    align-items: center;
    background-color: transparent;
    flex: 1;
}

.currency-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    background-color: #e0e0e0;
    color: #333;
}

.dark-theme .currency-circle {
    background-color: #333;
    color: #e0e0e0;
}

.currency-select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px 20px 8px 0;
    width: 100%;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 16px;
}

.currency-select:focus {
    outline: none;
}

.swap-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
    color: var(--text-color);
}

.swap-button i {
    font-size: 1.2rem;
}

.result-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    text-align: center;
}

.dark-theme .result-container {
    background-color: rgba(255, 255, 255, 0.05);
}

.result-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .converter-main {
        flex-direction: column;
    }
    
    .input-amount {
        width: 100%;
    }
    
    .currency-selectors {
        width: 100%;
    }
}

/* Dark theme variables */
:root.dark-theme .converter-section {
    background-color: var(--card-bg);
}

:root.dark-theme .input-group input,
:root.dark-theme .input-group select {
    background-color: var(--input-bg);
    color: var(--text-primary);
    border-color: var(--border-color);
}

:root.dark-theme .result-container {
    background-color: var(--table-row-hover);
}

/* Dropdown styling for better readability */
select.currency-select option {
    background-color: #ffffff;
    color: #333333;
}

/* Footer Styles */
.footer {
    background-color: var(--header-bg);
    color: var(--text-color);
    padding: 40px 0 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-theme .footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
}

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.footer-info li i {
    margin-right: 10px;
    color: var(--text-color);
    font-size: 1rem;
    margin-top: 3px;
}

.footer-info li span {
    line-height: 1.5;
}

.footer-info li a {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-info li a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: var(--neutral-color);
}

.dark-theme .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        width: 100%;
    }
}

/* Logo and Company Info Styles */
.logo {
    height: 70px;
    margin-right: 15px;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 300px;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.company-description {
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.3;
    font-style: italic;
}

@media (max-width: 768px) {
    .company-info {
        max-width: 290px;
    }
    
    .company-name {
        font-size: 1.32rem;
        line-height: 1.1;
    }
    
    .company-description {
        font-size: 0.92rem;
        line-height: 1.2;
    }
}

@media (max-width: 600px) {
    .company-info {
        max-width: 270px;
    }
    
    .company-name {
        font-size: 1.21rem;
        line-height: 1.1;
    }
    
    .company-description {
        font-size: 0.86rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 60px;
        margin-right: 12px;
    }
    
    .company-info {
        max-width: 250px;
    }
    
    .company-name {
        font-size: 1.06rem;
        line-height: 1.05;
    }
    
    .company-description {
        font-size: 0.79rem;
        line-height: 1.1;
    }
}

@media (max-width: 400px) {
    .logo {
        height: 55px;
        margin-right: 10px;
    }
    
    .company-info {
        max-width: 230px;
    }
    
    .company-name {
        font-size: 0.99rem;
        line-height: 1.0;
    }
    
    .company-description {
        font-size: 0.72rem;
        line-height: 1.1;
    }
}

/* Remove styles for the slider navigation buttons */
.slider-nav-button {
    display: none;
}

.form-message {
    margin: 15px 0;
    padding: 10px 15px;
    border-radius: 5px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
    display: block;
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
    display: block;
}

.dark-theme .form-message.success {
    background-color: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.dark-theme .form-message.error {
    background-color: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
} 