/* assets/css/custom.css
 * Custom styles πάνω από το W3.CSS
 */

/* Smooth transitions */
.w3-button, .w3-bar-item {
    transition: all 0.2s ease;
}

/* Card hover effect */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Input focus */
.w3-input:focus {
    outline: none;
    border-color: #1976D2 !important;
}

/* Sidebar sticky */
.sidebar-sticky {
    position: sticky;
    top: 70px;
}

/* Stat cards */
.stat-card {
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}
.stat-card .stat-number {
    font-size: 36px;
    font-weight: bold;
    margin: 8px 0;
}
.stat-card .material-icons {
    font-size: 40px;
    opacity: 0.85;
}

/* Required field asterisk */
.required::after {
    content: " *";
    color: #f44336;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1976D2;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Timeline για paper status */
.timeline {
    list-style: none;
    padding: 0;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}
.timeline-item {
    padding-left: 56px;
    position: relative;
    margin-bottom: 24px;
}
.timeline-item .timeline-dot {
    position: absolute;
    left: 11px;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1976D2;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #1976D2;
}

/* Print styles για βεβαιώσεις/badges */
@media print {
    .no-print { display: none !important; }
}

/* Responsive table wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
