body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
    padding: 10px;
}

.container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 90vh;
}

h1 {
    color: #191970;
    font-size: 1.8rem;
}

.welcome {
    font-size: 1rem;
    color: #555;
}

.file-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.file-label {
    background-color: #3498db;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.file-label:hover {
    background-color: #2980b9;
}

.file-name {
    font-size: 0.9rem;
    color: #333;
}

.form-group {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.city-label {
    font-size: 1rem;
    color: #191970;
    margin-bottom: 5px;
    font-weight: 600;
}

.city-input {
    width: 30%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: left;
    transition: all 0.3s ease-in-out;
}

.city-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.7);
}

#save-button {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

#save-button:hover {
    background-color: #27ae60;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    display: block;
}

#file-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin-top: 20px;
}

#file-table th,
#file-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    white-space: nowrap;
}

#file-table th {
    background-color: #2c3e50;
    color: white;
}

.view-button,
.delete-button {
    padding: 8px 12px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.view-button {
    background-color: #4CAF50;
    color: white;
}

.view-button:hover {
    background-color: #45a049;
}

.delete-button {
    background-color: #f44336;
    color: white;
}

.delete-button:hover {
    background-color: #d32f2f;
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: auto;
    max-width: 400px;
}

.toast {
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    color: white;
    opacity: 0.9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast.success {
    background-color: rgba(40, 167, 69, 0.7);
}

.toast.error {
    background-color: rgba(220, 53, 69, 0.7);
}

.toast.confirm {
    background-color: rgba(0, 123, 255, 0.7);
}

.confirm-btn,
.cancel-btn {
    background-color: #f5f5dc;
    color: #0f1477;
    border: 2px solid #ddd;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.confirm-btn:hover,
.cancel-btn:hover {
    background-color: #eae0c8;
    border-color: #ccc;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
        width: 95%;
    }

    h1 {
        font-size: 1.5rem;
    }

    .file-label,
    #save-button {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .file-container {
        flex-direction: column;
        align-items: center;
    }

    .city-label {
        font-weight: 600;
    }

    .city-input {
        width: 50%;
    }

    .toast {
        font-size: 0.9rem;
        padding: 10px;
    }

    #toast-container {
        right: 10px;
        top: 10px;
        max-width: 400px;
    }

    #file-table th,
    #file-table td {
        font-size: 0.8rem;
        padding: 8px;
    }
}