/* 基础样式 */
.w-full {
    width: 100%;
}

.w-2/3 {
    width: 66.666667%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.border {
    border-width: 1px;
}

.border-gray-300 {
    border-color: rgb(209, 213, 219);
}

.block {
    display: block;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.font-medium {
    font-weight: 500;
}

.text-gray-400 {
    color: rgb(156, 163, 175);
}

.text-gray-500 {
    color: rgb(107, 114, 128);
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

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

.mt-4 {
    margin-top: 1rem;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

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

.mr-2 {
    margin-right: 0.5rem;
}

/* 表单元素焦点状态 */
.focus\:border-primary:focus {
    border-color: var(--primary-color, #4f46e5);
}

.focus\:ring:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 79, 70, 229), 0.2);
}

.focus\:ring-primary:focus {
    --tw-ring-color: var(--primary-color, #4f46e5);
}

.focus\:ring-opacity-20:focus {
    --tw-ring-opacity: 0.2;
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color, #4f46e5);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
} 