* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: #f3f6fc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Brand Logo Container */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    text-decoration: none;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background-color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.brand-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
}

/* Main Form Card */
.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.auth-title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

/* Sliding Pill Switcher */
.tab-switcher {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    display: flex;
    position: relative;
    margin-bottom: 28px;
}

.tab-btn {
    flex: 1;
    padding: 10px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    text-align: center;
}

.tab-btn.active {
    color: #0f172a;
}

.tab-glider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

/* Sliding Form Wrapper */
.forms-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.forms-slider {
    display: flex;
    width: 200%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-panel {
    width: 50%;
    flex-shrink: 0;
}

/* Form Inputs & Elements */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #0f172a;
}

.form-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
    color: #94a3b8;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 6px;
}

.btn-submit:hover {
    background-color: #1d4ed8;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background-color: #dcfce7;
    color: #15803d;
}

.alert-danger {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* Footer Link */
.back-home {
    margin-top: 24px;
    text-align: center;
}

.back-home a {
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.back-home a:hover {
    color: #0f172a;
}

/* Active State Adjustments */
body.tab-create .tab-glider {
    transform: translateX(0);
}

body.tab-signin .tab-glider {
    transform: translateX(100%);
}

body.tab-create .forms-slider {
    transform: translateX(0%);
}

body.tab-signin .forms-slider {
    transform: translateX(-50%);
}