/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
    will-change: transform, box-shadow;
}

.input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.input-wrapper input::placeholder {
    color: var(--text-tertiary);
    font-weight: 400;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12), 0 4px 12px rgba(16, 185, 129, 0.08);
    transform: translateY(-1px);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25), 0 2px 8px rgba(16, 185, 129, 0.15);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.25), 0 0 60px rgba(16, 185, 129, 0.15);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all var(--transition-fast);
}

.btn-text {
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.btn-loader .loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.6) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: var(--blur-medium);
    -webkit-backdrop-filter: var(--blur-medium);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    background: var(--surface-tertiary);
    border-color: var(--border-hover);
    transform: translateY(-2px) scale(1.01);
    box-shadow: var(--shadow-sm), 0 0 0 3px rgba(16, 185, 129, 0.08);
}

/* Header Action Buttons */
.header-actions .btn-primary,
.header-actions .btn-secondary {
    width: auto;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
}

.header-actions .btn-primary {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.15),
        0 0 30px rgba(16, 185, 129, 0.08);
}

.header-actions .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4), 0 4px 16px rgba(16, 185, 129, 0.25);
    filter: brightness(1.05);
}

.header-actions .btn-secondary {
    padding: 10px 16px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.6) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.header-actions svg {
    width: 16px;
    height: 16px;
}

/* Error Message */
.error-message {
    margin-top: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.08) 0%, 
        rgba(239, 68, 68, 0.04) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    color: var(--error-color);
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: var(--blur-light);
    -webkit-backdrop-filter: var(--blur-light);
    box-shadow: 
        0 4px 16px rgba(239, 68, 68, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
