/* Basic Setup */
:root {
    --pin-primary: #f59e0b;
    /* Amber 500 */
    --pin-primary-hover: #d97706;
    /* Amber 600 */
    --pin-bg: #111827;
    /* Gray 900 */
    --pin-card-bg: rgba(31, 41, 55, 0.7);
    /* Gray 800 with opacity */
    --pin-text: #f9fafb;
    /* Gray 50 */
    --pin-text-muted: #9ca3af;
    /* Gray 400 */
    --pin-danger: #ef4444;
    /* Red 500 */
    --pin-danger-bg: rgba(127, 29, 29, 0.2);
    /* Red 900 low opacity */
    --pin-border: rgba(255, 255, 255, 0.1);
}

.pin-app-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
    /* Adjust for header/nav */
    padding: 1rem;
    font-family: 'Inter', sans-serif;
}

/* Glassmorphism Card */
.pin-card {
    background: var(--pin-card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--pin-border);
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Section */
.pin-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.pin-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--pin-primary);
}

.pin-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pin-text);
    margin-bottom: 0.5rem;
}

.pin-description {
    color: var(--pin-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Warning Box */
.pin-alert {
    background: var(--pin-danger-bg);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: left;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.pin-alert-icon {
    font-size: 1.5rem;
    color: var(--pin-danger);
    flex-shrink: 0;
    margin-top: 2px;
}

.pin-alert-content h4 {
    color: #fca5a5;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.pin-alert-content p {
    color: #fca5a5;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
    opacity: 0.9;
}

/* Action Buttons */
.pin-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-pin-primary,
.btn-pin-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    width: 100%;
}

.btn-pin-primary {
    background: var(--pin-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-pin-primary:hover {
    background: var(--pin-primary-hover);
    transform: translateY(-2px);
}

.btn-pin-secondary {
    background: transparent;
    color: var(--pin-text);
    border: 1px solid var(--pin-border);
}

.btn-pin-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Utils */
.hidden {
    display: none !important;
}