body {
    background-color: #f8f9fa;
    font-family: 'DM Sans', sans-serif;
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 10px;
}

.card-body {
    padding: 2rem;
}

.form-control {
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    border-color: #86b7fe;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

h1 {
    color: #212529;
    font-weight: 700;
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 500;
    color: #495057;
}

#qr-code-container {
    min-height: 300px;
    padding: 1rem;
}

#qr-code-container .qr-code-image {
    display: inline-block;
    margin-bottom: 1rem;
}

#qr-code-container .qr-code-image img {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
}

#qr-code-container h5 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 1rem;
}

#qr-code-container ol {
    padding-left: 1.5rem;
    margin-bottom: 0;
    text-align: left;
    display: inline-block;
}

#qr-code-container li {
    margin-bottom: 0.5rem;
    color: #495057;
}

.download-button {
    background-color: #0066FF !important;
    border-color: #0066FF !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.download-button:hover {
    background-color: #0052CC !important;
    border-color: #0052CC !important;
    transform: translateY(-2px);
}

.download-button .button-text {
    font-size: 1rem;
}

.clear-data {
    color: #dc3545;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.clear-data:hover {
    color: #bb2d3b;
}

/* Color scheme preview styles */
.color-preview {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-preview:hover {
    transform: scale(1.05);
}

.color-shape {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

/* Hide the default radio button but keep it accessible */
.form-check-input {
    position: absolute;
    opacity: 0;
}

/* Style for selected color scheme */
.form-check-input:checked + .form-check-label .color-preview {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Style for focus state */
.form-check-input:focus + .form-check-label .color-preview {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
} 