<style>
    body { font-family: 'Segoe UI', Arial, sans-serif; background: #eef2f7; text-align: center; padding: 20px; color: #333; }
    .container { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
    
    .warning-box { 
        background: #fff3cd; color: #856404; border: 1px solid #ffeeba; 
        padding: 15px; border-radius: 8px; margin-bottom: 20px; display: inline-block;
        max-width: 800px; text-align: left; font-size: 13px;
    }

    .box { background: white; padding: 25px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); width: 300px; }
    .naming-box { width: 100%; max-width: 650px; margin-bottom: 20px; }

    h2 { font-size: 18px; color: #2c3e50; margin-top: 0; }
    label { font-size: 12px; font-weight: bold; color: #7f8c8d; }
    input { padding: 8px; margin: 5px; font-size: 15px; border: 1px solid #ccc; border-radius: 4px; text-align: center; }
    
    .input-row { display: flex; justify-content: space-around; align-items: center; margin-bottom: 10px; }
    .input-group { display: flex; flex-direction: column; align-items: center; }
    
    button { padding: 12px 20px; margin-top: 15px; font-size: 15px; cursor: pointer; background: #2980b9; color: #fff; border: none; border-radius: 5px; width: 100%; font-weight: bold; transition: 0.2s; }
    button:hover { background: #3498db; transform: translateY(-2px); }
    .btn-download { background: #27ae60; margin-top: 10px; display: none; }
    .btn-download:hover { background: #2ecc71; }

    .result-display { 
        margin-top: 20px; padding: 15px; background: #fff; border-radius: 10px; 
        display: none; border: 2px solid #27ae60; animation: fadeIn 0.5s;
    }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.country-listbox {
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 180px;
        overflow-y: auto;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        z-index: 10;
        display: none;
        text-align: left;
    }
    .country-listbox li {
        padding: 6px 10px;
        font-size: 13px;
        cursor: pointer;
    }
    .country-listbox li:hover,
    .country-listbox li.active {
        background: #2980b9;
        color: #fff;
    }
</style>