/**
 * GPS AR Experience Styles
 * Converted from Tailwind CSS to regular CSS
 */

.gps-ar-container {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #0f172a, #581c87, #0f172a);
    padding: 1rem;
}

.gps-ar-wrapper {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header */
.gps-ar-header {
    text-align: center;
    padding: 1.5rem 0;
}

.gps-ar-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.gps-ar-subtitle {
    color: #e9d5ff;
    font-size: 1rem;
}

/* Card Styles */
.gps-ar-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gps-ar-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1.5rem;
}

.gps-ar-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.gps-ar-card-description {
    color: #e9d5ff;
    font-size: 0.875rem;
    margin: 0;
}

.gps-ar-card-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Button Styles */
.gps-ar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    padding: 0.5rem 1rem;
}

.gps-ar-btn-primary {
    background-color: #9333ea;
    color: #ffffff;
}

.gps-ar-btn-primary:hover {
    background-color: #7e22ce;
}

.gps-ar-btn-outline {
    background-color: transparent;
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #e9d5ff;
}

.gps-ar-btn-outline:hover {
    background-color: rgba(168, 85, 247, 0.2);
}

.gps-ar-btn-control {
    background-color: #9333ea;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
}

.gps-ar-btn-control:hover {
    background-color: #7e22ce;
}

.gps-ar-btn-full {
    width: 100%;
}

.gps-ar-icon {
    margin-right: 0.5rem;
}

/* Location Status */
.gps-ar-prompt {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gps-ar-prompt-text {
    color: #e9d5ff;
}

.gps-ar-error {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.5rem;
}

.gps-ar-error-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.gps-ar-error-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.gps-ar-error-text {
    color: #fecaca;
    font-weight: 500;
    margin: 0;
}

.gps-ar-tracking-active {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gps-ar-tracking-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ade80;
    font-size: 0.875rem;
    font-weight: 500;
}

.gps-ar-pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.gps-ar-position-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .gps-ar-position-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gps-ar-position-item {
    background-color: rgba(51, 65, 85, 0.5);
    padding: 1rem;
    border-radius: 0.5rem;
}

.gps-ar-position-label {
    color: #c084fc;
    font-size: 0.875rem;
    margin: 0 0 0.25rem 0;
}

.gps-ar-position-value {
    color: #ffffff;
    font-family: monospace;
    font-size: 1.125rem;
    margin: 0;
}

.gps-ar-timestamp {
    color: #c084fc;
    font-size: 0.875rem;
    margin: 0;
}

.gps-ar-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 0;
}

.gps-ar-spinner {
    font-size: 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Nearby Locations */
.gps-ar-location-item {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 2px solid;
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.gps-ar-location-item {
    background-color: rgba(51, 65, 85, 0.3);
    border-color: #475569;
}

.gps-ar-location-active {
    background-color: rgba(34, 197, 94, 0.2);
    border-color: #4ade80;
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.2);
}

.gps-ar-location-content {
    flex: 1;
}

.gps-ar-location-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.gps-ar-location-header h3 {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.gps-ar-badge {
    padding: 0.125rem 0.5rem;
    background-color: #22c55e;
    color: #ffffff;
    font-size: 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
}

.gps-ar-location-description {
    color: #c084fc;
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.gps-ar-location-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.gps-ar-location-meta span {
    color: #e9d5ff;
}

.gps-ar-location-meta strong {
    color: #ffffff;
    font-family: monospace;
}

.gps-ar-icon-eye {
    font-size: 1.5rem;
    color: #4ade80;
    flex-shrink: 0;
}

/* AR Viewer */
.gps-ar-canvas-container {
    position: relative;
    background-color: #000000;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.5);
}

.gps-ar-canvas-container canvas {
    width: 100%;
    height: auto;
    display: block;
}

.gps-ar-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .gps-ar-controls {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gps-ar-empty-viewer {
    background-color: #000000;
    border-radius: 0.5rem;
    padding: 3rem;
    text-align: center;
    border: 2px solid #475569;
}

.gps-ar-empty-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background-color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.gps-ar-empty-text {
    color: #94a3b8;
    margin: 0 0 0.5rem 0;
}

.gps-ar-empty-hint {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .gps-ar-container {
        padding: 0.5rem;
    }
    
    .gps-ar-title {
        font-size: 1.75rem;
    }
    
    .gps-ar-card-header,
    .gps-ar-card-content {
        padding: 1rem;
    }
}

