/* Analog Clock Models - Frontend Styles */

.acm-clock-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Model Seçici */
.acm-model-selector {
    text-align: center;
    margin-bottom: 20px;
}

.acm-model-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.acm-model-select {
    padding: 8px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    min-width: 200px;
    transition: all 0.3s ease;
    background: #fff;
}

.acm-model-select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Saat Konteyneri */
.acm-clock-container {
    display: inline-block;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Saat */
.acm-clock {
    position: relative;
    margin: 0 auto;
    border-radius: 50%;
    overflow: visible;
}

/* Kadran */
.acm-clock-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.acm-clock-face-default {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 3px solid #ddd;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Merkez Nokta */
.acm-clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #333;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.acm-clock-center::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

/* İbreler */
.acm-hand {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.acm-hour-hand {
    z-index: 7;
}

.acm-minute-hand {
    z-index: 8;
}

.acm-second-hand {
    z-index: 9;
    transition: transform 0.1s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Saat Bilgileri */
.acm-clock-info {
    margin-top: 20px;
    text-align: center;
}

.acm-digital-time {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.acm-model-name {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.acm-dimensions {
    font-size: 12px;
    color: #888;
    font-family: monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .acm-clock-wrapper {
        padding: 10px;
    }
    
    .acm-clock-container {
        padding: 20px;
    }
    
    .acm-digital-time {
        font-size: 22px;
    }
    
    .acm-model-name {
        font-size: 14px;
    }
    
    .acm-dimensions {
        font-size: 11px;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.acm-clock-wrapper {
    animation: fadeIn 0.5s ease-out;
}

/* Loading State */
.acm-clock-container.loading {
    opacity: 0.6;
    pointer-events: none;
}

.acm-clock-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}