:root {
    --primary-color: #885341;
    --primary-hover: #6e4132;
    --text-muted: #7c7c7c;
    --text-main: #2b2b2b;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-dashed: #d0b8b0;
    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: #f6f6f6;
    margin: 0;
    padding: 24px;
}

h1 {
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 24px;
}

/* Container that holds both file input boxes */
.upload-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

/* Individual card wrapper for each input */
.upload-card {
    flex: 1;
    padding: 24px;
    border: 2px dashed var(--border-dashed);
    border-radius: 12px;
    background-color: var(--bg-card);
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(136, 83, 65, 0.08);
}

.upload-card input[type="file"] {
    margin-left: 75px;
    display: block;
}

.upload-card p {
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 0;
}

.selected-text {
    margin-top: 3% !important;
    font-size: 90%;
}

.disclaimer {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

/* Tab Buttons Container */
.tabs-header {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 24px;
    justify-content: center;
}

/* Individual Tab Button */
.tab-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
}

/* Active Tab Button Styling */
.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Hide inactive tab contents by default */
.tab-content {
    display: none;
}

/* Show active tab content */
.tab-content.active {
    display: block;
}

/* User Card Grid Styling */
.user-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.user-card {
    padding: 14px;
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.user-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.user-card a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Search Bar Styling */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#search-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-card);
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#search-input:hover,
#search-input:focus {
    border-color: var(--primary-color);
}

#search-input::placeholder {
    color: var(--text-muted);
}

/* Privacy Banner Styling */
.privacy-banner {
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 24px auto;
    font-size: 0.88rem;
    text-align: center;
}

.privacy-icon {
    font-size: 1rem;
}

/* Footer Styling */
.app-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.app-footer p {
    display: flex;
    flex-direction: column;
    margin: 0 0 8px 0;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.github-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.90rem;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.divider {
    color: var(--border-dashed);
}