/* Buttons */
button {
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
}

.primary-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

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

.primary-btn.wide {
    width: 100%;
    justify-content: center;
}

.secondary-btn {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.secondary-btn:hover {
    background: #f8fafc;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1e293b;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transform: translateY(100px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 100;
}

.notification.active {
    transform: translateY(0);
}

.notification.error {
    background: var(--red);
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper i,
.input-wrapper svg {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 10;
    transition: color 0.2s;
}

.input-wrapper input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f8fafc;
    box-sizing: border-box;
    display: block;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.input-wrapper input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-wrapper input:disabled,
.input-wrapper input[readonly] {
    background: #f1f5f9;
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: var(--border);
}

.input-wrapper:focus-within i,
.input-wrapper:focus-within svg {
    color: var(--primary);
}

.error-msg {
    color: var(--red);
    font-size: 0.85rem;
    margin-top: 16px;
    text-align: center;
    background: #fef2f2;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #fee2e2;
}
