@import url('https://fonts.googleapis.com/css2?family=Cooper+Black&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1c1c75 0%, #2969c4 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}


.header {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 120px;
}

.logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.firm-name {
    font-family: 'Cooper Black', serif;
    font-size: 2.5rem;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Instructions + Input Styling */
.instructions, .input-section, .result-section {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.instructions h3 {
    color: #764ba2;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Textarea + Upload */
textarea {
    width: 100%;
    min-height: 140px;
    margin-top: 10px;
    padding: 12px;
    font-size: 1rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fefefe;
    resize: vertical;
}

.file-input {
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Buttons */
button {
    padding: 12px 20px;
    background: #667eea;
    color: white;
    border: none;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 15px;
}

button:hover {
    background: #5a67d8;
}

.download-btn {
    background-color: #20c997;
}

.download-btn:hover {
    background-color: #17a589;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab {
    background: #e9ecef;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    transition: all 0.3s ease;
}

.tab.active {
    background: #667eea;
    color: #fff;
}

.tab:hover {
    background-color: #d6dbe0;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

th, td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

tr:hover {
    background-color: #f0f2f5;
}

.highlight {
    background-color: #fff3cd;
}

.new-item {
    background-color: #d4edda;
}

.deleted-item {
    background-color: #f8d7da;
}

/* Progress Bar */
.progress {
    margin-top: 10px;
    display: none;
}

.progress-bar {
    height: 12px;
    background-color: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    width: 0%;
    transition: width 0.3s ease;
}

/* Error Message */
.error {
    color: #721c24;
    background-color: #f8d7da;
    border-left: 5px solid #dc3545;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    font-weight: 500;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header {
        flex-direction: column;
        padding: 20px;
    }

    .firm-name {
        font-size: 2rem;
        text-align: center;
    }

    .tabs {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    textarea {
        font-size: 0.95rem;
    }

    th, td {
        font-size: 0.9rem;
    }
}

.host-box {
    max-width: 960px;
    margin: 40px auto 0;
    padding: 25px;
    text-align: center;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Cooper Black', serif;
    backdrop-filter: blur(4px);
}

.host-box h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.host-box p {
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #e0e0e0;
}

.host-box a {
    color: #00e0ff;
    text-decoration: none;
    font-weight: 500;
}

.host-box a:hover {
    text-decoration: underline;
}
