/* 
 * Linkflow - Main Stylesheet
 * 
 * This stylesheet provides the base styling for the application.
 * Uses a clean, professional design with LinkedIn-inspired colors.
 */

:root {
    --linkedin-blue: #0077b5;
    --linkedin-blue-dark: #006097;
    --linkedin-blue-light: #cfe4f3;
    --success-green: #057642;
    --error-red: #cc1016;
    --warning-yellow: #f5c75d;
    --text-primary: #191919;
    --text-secondary: #666666;
    --background-light: #f3f2ef;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

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

*::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--background-light);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

body.show-scrollbar,
body.show-scrollbar * {
    -ms-overflow-style: auto;
    scrollbar-width: auto;
}

body.show-scrollbar::-webkit-scrollbar,
body.show-scrollbar *::-webkit-scrollbar {
    display: block;
    width: 8px;
    height: 8px;
}

body.show-scrollbar::-webkit-scrollbar-track,
body.show-scrollbar *::-webkit-scrollbar-track {
    background: var(--background-light);
}

body.show-scrollbar::-webkit-scrollbar-thumb,
body.show-scrollbar *::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

body.show-scrollbar::-webkit-scrollbar-thumb:hover,
body.show-scrollbar *::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 24px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--linkedin-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--linkedin-blue-dark);
}

.btn-success {
    background-color: var(--success-green);
    color: white;
}

.btn-danger {
    background-color: var(--error-red);
    color: white;
}

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

.btn-secondary:hover {
    background-color: var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--linkedin-blue);
    box-shadow: 0 0 0 3px var(--linkedin-blue-light);
}

.alert {
    padding: 16px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.alert-success {
    background-color: #e8f5e9;
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

.alert-error {
    background-color: #ffebee;
    color: var(--error-red);
    border: 1px solid var(--error-red);
}

.alert-warning {
    background-color: #fff8e1;
    color: #856404;
    border: 1px solid var(--warning-yellow);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-pending {
    background-color: var(--warning-yellow);
    color: #856404;
}

.badge-approved {
    background-color: #c8e6c9;
    color: var(--success-green);
}

.badge-rejected {
    background-color: #ffcdd2;
    color: var(--error-red);
}

.badge-posted {
    background-color: var(--linkedin-blue-light);
    color: var(--linkedin-blue);
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--linkedin-blue) 0%, var(--linkedin-blue-dark) 100%);
}

.login-card {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.login-card h1 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-card p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.linkedin-btn {
    background-color: var(--linkedin-blue);
    color: white;
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
}

.linkedin-btn:hover {
    background-color: var(--linkedin-blue-dark);
}

.linkedin-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
