/* Stjärnafyrkant Branding CSS Override */

:root {
    /* Stjärnafyrkant Color Palette */
    --stjarna-primary: #ffea05;
    --stjarna-black: #000000;
    --stjarna-dark-gray: #222222;
    --stjarna-medium-gray: #666666;
    --stjarna-light-gray: #cccccc;
    --stjarna-white: #ffffff;
    --stjarna-hover-gray: #4E4E4E;
}

/* Override primary color scheme */
body.stjarnafyrkant {
    background: linear-gradient(135deg, #000000 0%, #222222 100%);
    color: var(--stjarna-white);
    font-family: "Helvetica", "Inter", Arial, sans-serif;
}

/* Logo container adjustments */
.stjarnafyrkant .logo-container {
    margin-bottom: 2rem;
}

.stjarnafyrkant .logo {
    max-width: 400px;
    height: auto;
}

/* Service buttons with Stjärnafyrkant branding */
.stjarnafyrkant .service-button {
    background: linear-gradient(135deg, rgba(255, 234, 5, 0.1) 0%, rgba(255, 234, 5, 0.05) 100%);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 234, 5, 0.3);
    border-radius: 20px;
    color: var(--stjarna-white);
    padding: 2rem;
    margin: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(255, 234, 5, 0.1);
}

.stjarnafyrkant .service-button:hover {
    background: linear-gradient(135deg, rgba(255, 234, 5, 0.25) 0%, rgba(255, 234, 5, 0.15) 100%);
    color: var(--stjarna-white);
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(255, 234, 5, 0.2);
    border-color: rgba(255, 234, 5, 0.6);
}

/* Service icons */
.stjarnafyrkant .service-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stjarnafyrkant .service-name {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    color: #ffffff !important;
}

/* Form styling overrides */
.stjarnafyrkant .form-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stjarnafyrkant .section-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form inputs */
.stjarnafyrkant input[type="text"],
.stjarnafyrkant input[type="email"], 
.stjarnafyrkant input[type="tel"],
.stjarnafyrkant input[type="url"],
.stjarnafyrkant input[type="password"],
.stjarnafyrkant input[type="number"],
.stjarnafyrkant textarea,
.stjarnafyrkant select {
    background: rgba(64, 64, 64, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px;
    color: var(--stjarna-white);
    padding: 12px 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Specific override for URL inputs to ensure they get the gray background */
.stjarnafyrkant input[type="url"] {
    background: rgba(64, 64, 64, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.stjarnafyrkant input:focus,
.stjarnafyrkant textarea:focus,
.stjarnafyrkant select:focus {
    outline: none;
    border-color: var(--stjarna-primary);
    background: rgba(255, 234, 5, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 234, 5, 0.2);
}

.stjarnafyrkant input::placeholder,
.stjarnafyrkant textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Modern Premium Submit Button */
.stjarnafyrkant .submit-button,
.stjarnafyrkant .submit-btn {
    background: linear-gradient(135deg, #ffea05 0%, #ffd700 100%) !important;
    border: 2px solid rgba(255, 234, 5, 0.3) !important;
    border-radius: 50px !important;
    color: #000 !important;
    padding: 20px 60px !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 
        0 15px 35px rgba(255, 234, 5, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

.stjarnafyrkant .submit-button::before,
.stjarnafyrkant .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s;
}

.stjarnafyrkant .submit-button:hover::before,
.stjarnafyrkant .submit-btn:hover::before {
    left: 100%;
}

.stjarnafyrkant .submit-button:hover,
.stjarnafyrkant .submit-btn:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 
        0 25px 70px rgba(255, 234, 5, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: linear-gradient(135deg, #fff200 0%, #ffea05 100%) !important;
}

.stjarnafyrkant .submit-button:active,
.stjarnafyrkant .submit-btn:active {
    transform: translateY(-2px) scale(1.01) !important;
    transition: all 0.1s ease !important;
}

/* Add field buttons */
.stjarnafyrkant .add-field-btn {
    background: rgba(255, 234, 5, 0.08);
    border: 2px dashed rgba(255, 234, 5, 0.4);
    border-radius: 12px;
    color: rgba(255, 234, 5, 0.8);
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stjarnafyrkant .add-field-btn:hover {
    background: rgba(255, 234, 5, 0.1);
    border-color: rgba(255, 234, 5, 0.6);
    color: var(--stjarna-primary);
    transform: translateY(-1px);
}

/* Knowledge categories */
.stjarnafyrkant .knowledge-category {
    background: rgba(255, 234, 5, 0.05);
    border: 1px solid rgba(255, 234, 5, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Footer */
.stjarnafyrkant .footer {
    margin-top: 3rem;
    text-align: center;
    color: var(--stjarna-light-gray);
    font-size: 0.9rem;
}

.stjarnafyrkant .footer a {
    color: var(--stjarna-primary);
    text-decoration: none;
}

.stjarnafyrkant .footer a:hover {
    color: var(--stjarna-white);
}

/* Heading styles */
.stjarnafyrkant h1 {
    font-weight: 900;
}

/* Form header */
.stjarnafyrkant .form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.stjarnafyrkant .form-title {
    background: linear-gradient(135deg, #ffea05 0%, #fff200 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stjarnafyrkant .form-subtitle {
    color: var(--stjarna-light-gray);
    font-size: 1.1rem;
    font-weight: 400;
}