/* app.css */
body {
    background: linear-gradient(45deg, #667eea, #764ba2);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
    animation: gradientShift 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.selection-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    max-width: 1000px;
    width: 90%;
    margin: 20px auto;
}

.logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 150px;
    width: 100%;
    height: auto;
}

.title {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease;
}

.dropdown-row {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.select2-container {
    min-width: 300px !important;
    font-size: 1.1rem;
}

.select2-selection {
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 12px !important;
    padding: 10px 15px 10px 15px !important;
    border: 2px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    padding-right: 65px !important;
}

.select2-selection:hover {
    border-color: #667eea !important;
}

.select2-selection__clear {
    position: absolute !important;
    right: 40px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    font-size: 1.4em !important;
    z-index: 1 !important;
    color: red !important;
    cursor: pointer !important;
}

.select2-selection__clear:hover {
    color: #c53030 !important;
}

.select2-selection__arrow {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: auto !important;
    width: 20px !important;
}

.select2-selection__arrow b {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.prompt-text {
    font-size: 1.4rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.table-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    animation: slideUp 0.5s ease;
}

table {
    margin-bottom: 0;
}

th {
    background: #4a5568 !important;
    color: white !important;
    font-weight: 600;
}

tr:hover td {
    background-color: #f7fafc !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .dropdown-row {
        flex-direction: column;
    }
    
    .selection-container {
        width: 95%;
        padding: 1.5rem;
    }
    
    .title {
        font-size: 2rem;
    }
}

.prefix-text {
    text-align: center;
    margin: 20px 0;
    font-size: 1.4rem;
    color: #2d3748;
    font-weight: 600;
    animation: fadeIn 0.5s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.prefix-text strong span {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    animation: gradientShift 15s ease infinite;
    background-size: 400% 400%;
}

.copy-badge {
    cursor: pointer;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #667eea, #764ba2);
    padding: 4px 8px;
    border-radius: 20px;
    color: white;
    gap: 5px;
    font-size: 0.9em;
    vertical-align: middle;
}

.copy-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.copy-badge:active {
    transform: translateY(0);
    box-shadow: none;
}

.copy-badge svg {
    width: 14px;
    height: 14px;
}
