@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #305CDE;
    --primary-hover: #1e3a8a;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --radius-md: 10px;
    --radius-lg: 24px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background: radial-gradient(circle at top right, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-main);
    font-family: var(--font-sans);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(48, 92, 222, 0.03) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 440px;
    text-align: center;
    z-index: 1;
}

.logo-container {
    margin-bottom: 32px;
}

.TSD-logo {
    height: 52px;
    width: auto;
    display: block;
    margin: 0 auto;
    border: 1.5px solid #000000;
    border-radius: 10px;
    padding: 5px;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.login-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: left;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    color: #0f172a;
}

.subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    background-color: #ffffff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(48, 92, 222, 0.1);
    background-color: #fff;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(48, 92, 222, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(48, 92, 222, 0.4);
    filter: brightness(1.1);
}

.card-footer {
    margin-top: 32px;
    font-size: 14px;
    text-align: center;
    color: var(--text-muted);
    font-weight: 500;
}

.card-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

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

.page-footer {
    margin-top: 48px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.page-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.page-footer p {
    margin-top: 12px;
    opacity: 0.8;
}
