:root {
    --blue-600: #0052a5;
    --blue-700: #004389;
    --primary-color: #0052a5;
    --primary-hover-color: #004389;
    --gray-50: #f9fafb;
    --gray-600: #4b5563;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: var(--gray-900);
}

.min-h-screen {
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    background-color: var(--gray-50);
}

.bg-pattern {
    background-image: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.02) 1%, transparent 1%, transparent 50%, rgba(0,0,0,0.02) 50%, rgba(0,0,0,0.02) 51%, transparent 51%, transparent 100%);
    background-size: 20px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.1rem 1rem;
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

.header-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--blue-600);
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

/* Beta Badge Styles */
.logo-container {
    position: relative;
    display: inline-block;
}

.beta-badge {
    position: absolute;
    top: -5px;
    right: -25px;
    background-color: #ff6b6b;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(20deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Footer Beta Badge */
.footer-content .beta-badge {
    position: static;
    transform: none;
    margin: 0 4px;
    display: inline-block;
    vertical-align: middle;
}

/* Dashboard Beta Badge */
.sidebar-header .beta-badge {
    top: 0;
    right: -15px;
    transform: rotate(20deg) scale(0.9);
}

/* Main Content */
main {
    padding-top: 200px;
    margin-top: 0;
    text-align: center;
}

h1 {
    font-size: 2.0rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* Email Form */
.email-form {
    max-width: 28rem;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

input[type="email"] {
    flex-grow: 1;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem 0 0 0.375rem;
    font-size: 1rem;
}

/* Button Styles */
button, 
.btn-primary,
.cta-button {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 82, 165, 0.25);
}

button:hover,
.btn-primary:hover,
.cta-button:hover {
    background-color: var(--primary-hover-color);
    box-shadow: 0 6px 8px rgba(0, 67, 137, 0.3);
    color: white;
    text-decoration: none;
}

/* Original button styles */
button {
    padding: 0.75rem 1.5rem;
    border-radius: 0 0.375rem 0.375rem 0;
    font-weight: 500;
}

/* CTA button styles */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transform: translateY(0);
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature {
    width: 100%;
    text-align: left;
    position: relative;
    padding: 1.0rem 1rem 0.0rem 2.5rem;
    background-color: var(--gray-50);
    border-radius: 0.75rem;
}

.step-number {
    position: absolute;
    left: -0.75rem;
    top: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #0052a5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-number .number {
    font-size: 1.25rem;
    font-weight: bold;
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: left;
    color: #0052a5;
    padding-left: 0;
}

.feature p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 1rem;
    padding-left: -0.5rem;
}

.feature p i {
    color: #2ecc71;
    margin-right: 8px;
    display: inline-block;
    width: 16px;
    text-align: center;
}

.feature p span {
    display: inline-block;
    width: calc(100% - 24px);
    vertical-align: top;
}

/* How it works */
.how-it-works {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    max-width: 32rem;
    margin: 0 auto;
}

.how-it-works h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: left;
}

.how-it-works ol {
    list-style: none;
    text-align: left;
}

.how-it-works li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.check-icon {
    color: #22c55e;
    margin-right: 0.75rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--gray-600);
}

/* Messages */
.messages {
    max-width: 28rem;
    margin: 0 auto 2rem;
}

.message {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.message-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    main {
        padding-top: 80px;
    }

    h1 {
        font-size: 1.6rem;
        padding: 0 1rem;
    }

    .subtitle {
        font-size: 1.125rem;
        padding: 0 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        margin: 2rem 1rem;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .feature {
        padding: 1.5rem 1rem 1.5rem 2.5rem;
        max-width: 100%;
    }
    
    .input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .input-group input[type="email"] {
        width: 100%;
        border-radius: 0.375rem;
    }

    .input-group button {
        width: 100%;
        border-radius: 0.375rem;
    }

    .signup-title {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
}

/* Add small screen adjustments */
@media (max-width: 480px) {
    main {
        padding-top: 80px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .features {
        margin: 1.5rem 0.75rem;
        padding: 1rem;
        gap: 1rem;
    }

    .feature {
        padding: 1.25rem 1rem 1.25rem 2rem;
    }

    .step-number {
        left: -0.5rem;
        width: 2rem;
        height: 2rem;
    }

    .step-number .number {
        font-size: 1rem;
    }
}

/* Error message styles */
.error-message {
    color: #dc3545;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #fff5f5;
    border: 1px solid #dc3545;
    border-radius: 0.5rem;
    max-width: 28rem;
    text-align: center;
    font-weight: 500;
    list-style: none;
}

.error-message ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-message li {
    list-style: none;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.logo-image {
    width: auto;
    max-height: 60px;
}

/* Features Section */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--gray-600);
    background-color: white;
    padding: 1.5rem 2rem 0;
    border-radius: 1rem 1rem 0 0;
    margin-top: 3rem;
    text-align: left;
}

/* Signup Section */
.signup-section {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    margin-top: 3rem;
    position: relative;
    padding: 0.5rem;
}

.signup-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

/* Usuwam nieużywane style */
.signup-subtitle {
    display: none;
}

/* Usuwamy nieużywane style dla ikon */
.feature-icon {
    display: none;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem;
}

.nav-link:hover {
    color: var(--blue-600);
}

/* Logout button styled like nav-link */
.logout-button {
    background: none !important;
    color: var(--gray-600) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s !important;
    padding: 0.5rem !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    box-shadow: none !important;
    display: inline-block !important;
    margin: 0 !important;
    line-height: inherit !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.logout-button:hover {
    background: none !important;
    color: var(--blue-600) !important;
    box-shadow: none !important;
}

.logout-button:active,
.logout-button:focus {
    background: none !important;
    color: var(--blue-600) !important;
    box-shadow: none !important;
    outline: none !important;
}

.logout-form {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile menu button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--blue-600);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-link {
        display: block;
        padding: 0.75rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link:hover {
        background-color: #f9fafb;
    }
    
    .logout-button {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.75rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .logout-button:hover {
        background-color: #f9fafb;
    }
}

.text-link {
    color: var(--blue-600);
    text-decoration: none;
    transition: color 0.2s;
}

.text-link:hover {
    text-decoration: underline;
}

/* Confirmation page styles */
.confirmation-message {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.icon-wrapper {
    margin-bottom: 2rem;
}

/* Remove this rule since we're using Bootstrap's text-primary class */
.icon-wrapper i {
    color: var(--blue-600);
}

.message-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.message-card .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

/* Remove or comment out these specific styles since we're not using them anymore */
/*.message-card p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.text-muted {
    color: var(--gray-600);
    font-size: 0.875rem;
}*/

.highlight-email {
    color: var(--blue-600);
}

/* Add to your existing styles */

.value-section {
    margin: 4rem 0;
    padding: 2rem 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.value-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.value-column {
    padding: 1.5rem;
    text-align: left;
}

.value-column h3 {
    color: var(--blue-600);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.value-column h3 i {
    color: var(--blue-600);
}

.value-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.value-column li {
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-600);
    line-height: 1.4;
    text-align: left;
}

.value-column li i {
    color: #2ecc71;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .value-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Hero Section */
.hero-section {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-benefits {
    margin-top: 2rem;
}

.benefits-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.benefits-column {
    flex: 1;
    text-align: left;
    background-color: var(--gray-50);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.benefits-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0052a5;
    display: flex;
    align-items: center;
}

.benefits-column h3 i {
    margin-right: 0.5rem;
}

.benefits-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-column li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.benefits-column li i {
    color: #2ecc71;
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
    margin-top: 0.2rem;
}

.hero-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--blue-600);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 82, 165, 0.25);
}

.cta-button:hover {
    background-color: var(--blue-700);
    box-shadow: 0 6px 8px rgba(0, 67, 137, 0.3);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Media Queries for Hero Section */
@media (max-width: 768px) {
    .benefits-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-section {
        padding: 1.5rem;
    }
    
    .cta-button {
        padding: 0.75rem 2rem;
    }
    
    .header-cta {
        margin: 1rem auto;
    }
    
    .cta-caption {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

.header-cta {
    margin: 1.5rem auto;
    text-align: center;
}

.header-cta .cta-button {
    background-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 82, 165, 0.3);
}

.header-cta .cta-button:hover {
    background-color: var(--primary-hover-color);
    box-shadow: 0 6px 10px rgba(0, 67, 137, 0.4);
}

.cta-caption {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

/* Regulations Styling */
.regulations-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: justify;
    line-height: 1.6;
}

.regulations-content h1,
.regulations-content h2,
.regulations-content h3,
.regulations-date {
    text-align: center;
    color: #333;
}

.regulations-content h1 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.regulations-content h2 {
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.regulations-content h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.regulations-content p {
    margin-bottom: 1rem;
}

/* Style for nested lists */
.regulations-content ol ol {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
    list-style-type: lower-alpha;
}

/* Add some spacing for the withdrawal form */
.regulations-content section:last-child {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Add styles for links */
.regulations-content a {
    color: #0052a5;
    text-decoration: none;
}

.regulations-content a:hover {
    text-decoration: underline;
}

/* Make UOKiK links active too */
.regulations-content a.uokik-link {
    color: #0052a5;
    text-decoration: none;
}

.regulations-date {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

/* Login Page */
.login-container {
    max-width: 450px;
    margin: 2rem auto;
}

.login-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-image {
    max-width: 200px;
}

/* Google Tag Manager iframe */
.gtm-frame {
    display: none;
    visibility: hidden;
}

/* Confirmation icon */
.confirmation-icon {
    font-size: 4rem;
}

/* Bootstrap overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
} 