/*
Theme Name: Somali Youth Party
Author: Hiigsi Tech
Description: Custom HTML clone for SYP
Version: 1.0
*/

/* ---------------------------------------------------------
   PASTE YOUR ORIGINAL CSS BELOW
--------------------------------------------------------- */

.clip-hero { clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); }
.somali-pattern {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23002855' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-attachment: fixed;
    opacity: 1;
    position: absolute;
    inset: 0;
    z-index: 0;
}
.skeleton {
    background: #e2e8f0;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}
@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.image-loaded { opacity: 0; transition: opacity 0.5s; }
.image-loaded.show { opacity: 1; }
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #1e293b; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #475569; border-radius: 4px; }
.fixed-bg-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    font-size: 8vw;
    font-weight: 900;
    text-transform: uppercase;
    color: #002855;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
    user-select: none;
}
.floating-particle {
    position: fixed;
    border-radius: 50%;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
    animation: float 20s infinite linear;
}
@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 100px) rotate(90deg); }
    50% { transform: translate(0, 200px) rotate(180deg); }
    75% { transform: translate(-100px, 100px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}
.input-error {
    border-color: #ef4444 !important; 
    background-color: #fef2f2 !important; 
}
.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}
/* Glow Stroke Card CSS */
.glow-card {
    position: relative;
    background: #0f172a; 
    border-radius: 18px;
    padding: 3px;
    overflow: hidden;
    color: white;
}
.glow-card::before {
    content: "";
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(230, 57, 70, 0.2) 40deg,
        rgba(230, 57, 70, 1) 60deg,
        rgba(230, 57, 70, 0.2) 80deg,
        transparent 120deg
    );
    animation: rotate 4s linear infinite; 
    top: -50%;
    left: -50%;
}
.glow-card::after {
    content: "";
    position: absolute;
    inset: 3px; 
    background: #0f172a; 
    border-radius: 15px;
    z-index: 0;
}
.glow-content {
    position: relative;
    z-index: 1;
    height: 100%;
}
@keyframes rotate {
    to { transform: rotate(360deg); }
}
/* Flag Dropdown CSS */
.flag-selected {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
.flag-dropdown {
    display: none;
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    max-height: 260px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.flag-option {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #1e293b;
}
.flag-option:hover { background: #f1f5f9; }
.flag-option img, .flag-selected img { width: 20px; height: 14px; object-fit: cover; }