/* css/views/location.css */

.location-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.location-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffb300 100%);
    color: var(--dark-gray);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-medium);
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.location-status {
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-location-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.location-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.location-name i {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.location-name h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}

.coordinates, .location-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.no-location {
    text-align: center;
    padding: 3rem 1rem;
}

.no-location i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.no-location p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* SHTUAR: Stilizimet qe mungonin per kohet e namazit te vendndodhjes */
.my-location-prayer-times {
    margin-bottom: 2rem;
}

.my-location-times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.my-location-time-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.my-location-time-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.15);
}

.my-location-time-card h4 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.my-location-time-card .time {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.location-api-status {
    text-align: center;
    margin-top: 2rem;
}
/* FUNDI I SHTESAVE */

/* Qibla Compass Styles */
.qibla-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.qibla-header h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.qibla-header p {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.compass {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 1.5rem auto;
}

.compass-circle {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 70%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.marker {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}
.marker.north { top: 10px; left: 50%; transform: translateX(-50%); }
.marker.south { bottom: 10px; left: 50%; transform: translateX(-50%); }
.marker.east { top: 50%; right: 10px; transform: translateY(-50%); }
.marker.west { top: 50%; left: 10px; transform: translateY(-50%); }

.qibla-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: transform 0.2s linear, color 0.3s ease, text-shadow 0.3s ease;
}

.qibla-indicator.aligned {
    color: #81C784;
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.8);
}

.qibla-arrow-indicator {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 16px solid var(--success-color);
    transition: border-color 0.3s ease;
}

.qibla-indicator.aligned .qibla-arrow-indicator {
    border-bottom-color: #81C784; /* Ngjyre me e lehte kur drejtohet */
}

.orientation-prompt {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
}

.orientation-prompt p {
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}