:root {
    --bg-color: #f8f9fa;
    --sidebar-bg: #0097a7;
    --card-bg: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --accent-color: #0097a7;
    --accent-hover: #007885;
    --mic-light: #e0f7fa;
    --success: #0f766e;
    --danger: #b91c1c;
    --border-color: #d7e3e6;
    --glass-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --glass-blur: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image: none;
    color: var(--text-primary);
    min-height: 100vh;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
}

.logo {
    background: #ffffff;
    border-radius: 10px;
    padding: 0.7rem 0.6rem 0.55rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.logo p {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #007885;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar nav a {
    text-decoration: none;
    color: #e0f7fa;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.sidebar nav a:hover, .sidebar nav a.active {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.sidebar nav a.active {
    border-left: 3px solid var(--accent-color);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 3rem;
}

header {
    margin-bottom: 2rem;
}

header h1 {
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--text-primary);
}

.content-body {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--accent-color);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    color: var(--text-primary);
}

/* Upload Form Styles */
.upload-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.file-input-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.file-input-wrapper:hover {
    border-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.05);
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 151, 167, 0.28);
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.sidebar-user {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.sidebar-user-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #b2ebf2;
    margin-bottom: 0.25rem;
}

.sidebar-user-email {
    font-size: 0.8rem;
    color: #ffffff;
    word-break: break-all;
    margin-bottom: 0.7rem;
}

.sidebar-logout {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.sidebar-logout:hover {
    color: #e0f7fa;
    text-decoration: underline;
}

body.login-page {
    background: #f8f9fa;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem 1rem 2.5rem;
}

.login-wrap {
    width: 100%;
    max-width: 520px;
}

.college-logo {
    display: block;
    width: min(100%, 420px);
    height: auto;
    margin: 0.5rem auto 1.25rem;
}

.login-card {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    border-top: 5px solid #0097a7;
    padding: 1.75rem 1.75rem 1.4rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.login-kicker {
    color: #007885;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    text-align: center;
}

.login-brand {
    display: none;
}

.login-footer {
    margin-top: 1rem;
    text-align: center;
    color: #007885;
    font-size: 0.85rem;
    font-weight: 600;
}

.login-steps {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.login-steps li {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.35rem 0.5rem;
}

.login-steps li.current {
    color: #ffffff;
    border-color: #0097a7;
    background: #0097a7;
}

.login-steps li.done {
    color: #007885;
    border-color: #80deea;
    background: #e0f7fa;
}

.login-card h1 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: #007885;
    text-align: center;
}

.login-sub {
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    text-align: center;
}

.login-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1f2937;
    border-radius: 8px;
    padding: 0.8rem 0.9rem;
    font-size: 1rem;
    font-family: inherit;
}

.login-input:focus {
    outline: none;
    border-color: #0097a7;
    box-shadow: 0 0 0 3px rgba(0, 151, 167, 0.2);
}

.login-otp {
    letter-spacing: 0.45em;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.login-alt {
    text-align: center;
    margin-top: 1.1rem;
}

.login-alt a {
    color: #007885;
    font-size: 0.88rem;
    text-decoration: none;
}

.login-alt a:hover {
    text-decoration: underline;
}
