:root {
    --primary-color: #0052CC;
    /* Atlassian Blue */
    --primary-hover: #0747A6;
    --bg-color: #F4F5F7;
    /* Neutral Gray Background */
    --surface-color: #FFFFFF;
    --text-main: #172B4D;
    /* Dark Blue Gray */
    --text-muted: #6B778C;
    --border-color: #DFE1E6;
    --success-bg: #E3FCEF;
    --success-text: #006644;
    --warning-bg: #FFFAE6;
    --warning-text: #824D00;
    --error-bg: #FFEBE6;
    --error-text: #BF2600;
    --shadow: 0 1px 1px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
}

/* Jira Style Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 56px;
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
}

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

/* Cards (Jira Style) */
.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    /* Smaller radius for professional look */
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 16px;
    background: white;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.project-card:hover {
    background: #EBECF0;
    border-color: #B3BAC5;
}

/* Headers */
h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #172B4D;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    height: 32px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.1s ease-out;
    border: none;
    text-decoration: none;
    color: #42526E;
    background: rgba(9, 30, 66, 0.04);
}

.btn:hover {
    background: rgba(9, 30, 66, 0.08);
}

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

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

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

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
}

input,
textarea,
select {
    width: 100%;
    padding: 8px 12px;
    background: #F4F5F7;
    border: 2px solid #DFE1E6;
    border-radius: 3px;
    font-size: 14px;
    color: #172B4D;
    transition: all 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    background: white;
    border-color: #4C9AFF;
}

/* Badge (Flags) */
.badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success {
    background: var(--success-bg);
    color: var(--success-text);
}

.badge-pending {
    background: var(--warning-bg);
    color: var(--warning-text);
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 14px;
}

th {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    border-top: none;
}

td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* Flash Messages */
.flash {
    padding: 12px 16px;
    border-radius: 3px;
    margin-bottom: 16px;
    font-size: 14px;
    border-left: 5px solid;
}

.flash-success {
    background: var(--success-bg);
    border-color: var(--success-text);
    color: var(--success-text);
}

.flash-error {
    background: var(--error-bg);
    border-color: var(--error-text);
    color: var(--error-text);
}

/* Animations */
.animate {
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}