/* Admin Form Styles - Modern & Clean */

/* Form Field */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

/* Input Fields */
.ui-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #0f172a;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    outline: none;
}

.ui-input:focus {
    border-color: #3f4dee;
    box-shadow: 0 0 0 3px rgba(63, 77, 238, 0.1);
    background-color: #ffffff;
}

.ui-input:hover:not(:focus) {
    border-color: #cbd5e1;
}

.ui-input::placeholder {
    color: #94a3b8;
}

/* Textarea */
textarea.ui-input {
    resize: vertical;
    min-height: 100px;
}

/* Select */
select.ui-input {
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    appearance: none;
}

/* Buttons */
.ui-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
}

.ui-button--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #3f4dee 0%, #5b5ff5 100%);
    box-shadow: 0 4px 12px rgba(63, 77, 238, 0.25);
}

.ui-button--primary:hover {
    background: linear-gradient(135deg, #3543d6 0%, #4d51dd 100%);
    box-shadow: 0 6px 16px rgba(63, 77, 238, 0.35);
    transform: translateY(-1px);
}

.ui-button--primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(63, 77, 238, 0.2);
}

.ui-button--secondary {
    color: #3f4dee;
    background-color: rgba(63, 77, 238, 0.1);
    border: 1.5px solid rgba(63, 77, 238, 0.2);
}

.ui-button--secondary:hover {
    background-color: rgba(63, 77, 238, 0.15);
    border-color: rgba(63, 77, 238, 0.3);
}

.ui-button--ghost {
    color: #64748b;
    background-color: transparent;
    border: 1.5px solid #e2e8f0;
}

.ui-button--ghost:hover {
    color: #3f4dee;
    background-color: rgba(63, 77, 238, 0.05);
    border-color: rgba(63, 77, 238, 0.2);
}

.ui-button--neutral {
    color: #475569;
    background-color: #f1f5f9;
    border: 1.5px solid #e2e8f0;
}

.ui-button--neutral:hover {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
}

.ui-button--danger {
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.ui-button--danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.ui-button--small {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* Card */
.card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Pills/Badges */
.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    line-height: 1;
}

.pill--success {
    color: #047857;
    background-color: #d1fae5;
}

.pill--warning {
    color: #b45309;
    background-color: #fef3c7;
}

.pill--danger {
    color: #b91c1c;
    background-color: #fee2e2;
}

.pill--muted {
    color: #64748b;
    background-color: #f1f5f9;
}

/* Table Styles */
.table-scroll {
    overflow-x: auto;
    border-radius: 1rem;
}

.table-shell {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
}

.table-shell table {
    width: 100%;
    border-collapse: collapse;
}

.table-shell thead {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.table-shell th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.table-shell td {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: #0f172a;
    border-top: 1px solid #f1f5f9;
}

.table-shell tbody tr:hover {
    background-color: #f8fafc;
}
