/* GroupWare 공통 스타일 */

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Gradient Background */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: var(--scrollbar-width, 16px);
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Common Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out;
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Select Box Styling */
select option {
    background-color: #374151 !important;
    color: white !important;
}

select option:hover {
    background-color: #4B5563 !important;
}

select option:checked {
    background-color: #6366F1 !important;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Development Warning Message */
.dev-warning {
    background: #f97316;
    border-left: 4px solid #ea580c;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dev-warning .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #9a3412;
    margin-right: 0.75rem;
}

.dev-warning .title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.dev-warning .description {
    color: #fed7aa;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Common Button Styles */
.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Form Input Styles */
.input-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.input-glass::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-glass:focus {
    outline: none;
    ring: 2px;
    ring-color: rgba(255, 255, 255, 0.5);
    border-color: transparent;
}

/* Table Styles */
.table-glass {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table-glass thead {
    background: rgba(255, 255, 255, 0.1);
}

.table-glass th {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table-glass tbody {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.table-glass tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.table-glass tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

.table-glass td {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: white;
}

/* Utility Classes */
.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-white-60 {
    color: rgba(255, 255, 255, 0.6);
}

.bg-white-10 {
    background: rgba(255, 255, 255, 0.1);
}

.bg-white-20 {
    background: rgba(255, 255, 255, 0.2);
}

.border-white-30 {
    border-color: rgba(255, 255, 255, 0.3);
}