:root {
    --primary-color: #201534;
    --secondary-color: #4a90e2;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --button-gradient-left: #ff8f00;
    --button-gradient-right: #ee4848;
    --button-gradient-hover-left: #ff7800;
    --button-gradient-hover-right: #ea2929;
}


body {
    background-color: var(--light-bg);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}


h1 {
    font-weight: bold;
    color: var(--text-color);
}


form label {
    font-weight: bold;
    color: var(--primary-color);
}


#loader {
    color: var(--text-color);
    font-size: 1.2em;
}


#responseBlock {
    background-color: #ffffff;
    color: var(--text-color);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


#copyButton {
    cursor: pointer;
}


textarea,
input,
select {
    color: var(--text-color);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}


textarea:focus,
input:focus,
select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
    outline: none;
}


.hint {
    font-size: small;
    font-style: italic;
    padding-bottom: 0.5em;
}


.gradient-button {
    background: linear-gradient(to right, var(--button-gradient-left), var(--button-gradient-right));
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    transition: background 0.3s ease, transform 0.3s ease;
}


.gradient-button:hover {
    background: linear-gradient(to right, var(--button-gradient-hover-left), var(--button-gradient-hover-right));
    transform: translateY(-1px);
}


/* New Header Styles */
.header {
    background-color: var(--primary-color);
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}


.dropdown-toggle {
    background-color: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
}


.dropdown-menu {
    min-width: auto;
}


.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
}


.header img {
    width: 200px;
}


.title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #6b46c1, #3182ce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 1rem;
}


.loading-dots {
    display: inline-block;
}


.loading-dots span {
    animation: blink 1.4s infinite;
    font-size: 1.2rem;
}


.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}


.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}


@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}


@media (max-width: 768px) {
    .title {
        font-size: 1.8rem;
    }
    
    #responseBlock {
        padding: 1.5rem;
    }
}
