* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #1c71c6;
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo i {
    font-size: 2rem;
}

.logo h1 {
    font-size: 1.5rem;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.generator-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 600;
    color: #2c3e50;
}

input {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #1c71c6;
}

.generate-btn {
    background-color: #1c71c6;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.generate-btn:hover {
    background-color: #38a422;
}

.generate-btn:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.results-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.results-section h2 {
    margin-bottom: 0;
    color: #2c3e50;
}

.export-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.export-btn:hover {
    background-color: #229954;
}

.export-btn:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.qr-code {
    width: 200px;
    height: 80px;
    object-fit: contain;
}

.download-btn {
    background-color: #38a422;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #1c7841;
}

.input-with-button {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.random-btn {
    background-color: #1c71c6;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.random-btn:hover {
    background-color: #38a422;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.download-btn, .copy-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.download-btn:hover, .copy-btn:hover {
    background-color: #219a52;
}

.copy-btn {
    background-color: #3498db;
}

.copy-btn:hover {
    background-color: #2980b9;
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .generator-section,
    .results-section {
        padding: 1rem;
    }

    th, td {
        padding: 0.8rem;
    }

    .qr-code {
        width: 80px;
        height: 80px;
    }
} 

.logo-img {
    width: 60px;
    height: 60px;
}