@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
:root {
    --primary: #FF6600;
    --foreground: #333333;
    --muted-foreground: #737373;
    --border: #E6E6E6;
    --accent: #6DC242;
    --destructive: #Ef4343;
    --ring: #6DC242;
}

article {
    font-family: "Open sans";
    background-color: hsl(var(--background));
    color: var(--foreground);
}

p {
    margin: 0 0 !important;
}

.main-container {
  min-height: 100vh;
  background-color: var(--background);
}

.header-container {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-info-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .header-info-container {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

.form-title {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.title-text {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
    border-left: 0 !important;
    padding-left: 0 !important;
}

@media (min-width: 768px) {
    .title-text {
        font-size: 2.25rem;
    }
}

.bundles-container {
    margin-bottom: 1.5rem;
}

.bundle-field-container {
    padding-left: 5rem;
    padding-right: 5rem;
}

.title-seminar-name {
    color: var(--primary);    
}

.badge-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

.trust-badje-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.trust-badje-text {
    font-size: 0.875rem;
    color: var(--foreground);
    line-height: 1.625;
}

.trust-badje {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0rem;
    padding-right: 0rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .form-container {
        padding-top: 1.5rem;
        padding-bottom: 2.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.details-section {
    grid-column: span 2 / span 2;
    order: 1;
}

@media (min-width: 1024px) {
    .details-section {
        grid-column: span 1 / span 1;
        order: 2;
    }
}

.form-section {
    grid-column: span 2 / span 2;
    order: 2;
}

@media (min-width: 1024px) {
    .form-section {
        order: 1;
    }
}

.seminar-success-container {
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    top: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    border: 5px solid var(--accent);
    text-shadow: none;
    background: var(--accent);
}

.seminar-warning-container {
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    top: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    border: 5px solid var(--primary);
    background: var(--primary);
}

.seminar-details-box {
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    position: sticky;
    top: 1rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
}

.seminar-details-label {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.info-items-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seminar-totals-container {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-container {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.price-label {
    color: var(--muted-foreground);
}

.price-value {
    min-width: 40%;
    text-align: right;
}

.bundles-label {
    font-weight: 700;
    color: #333333;
}

.discount {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--accent);
}

.total-container {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.total-label {
    font-weight: 600;
    font-size: 1.125rem;
}

.total-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--foreground);
}

.details-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .checkbox-container {
        grid-column: span 2 / span 2;
    }
}

.info-item-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-item-icon {
    color: var(--primary);
    margin-top: 0.125rem;
}

.info-item-texts {
  flex: 1 1 0%;
}

.info-item-label {
    font-size: 0.75rem;
    color: var(--muted-foreground); 
    margin-bottom: 0.25rem;
}

.info-item-value {
    font-size: 0.875rem;
    color: var(--foreground);
}

.discount-link {
    color: var(--primary);
    font-size: 14px;
}

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

.discount-error {
    color: var(--destructive);
    text-align: left; 
    margin: 0; 
    font-size: 12px;
}

.discount-input-label {
    font-size: 14px;
}

.close-discount-button {
    background-color: #00000000;
    background-image: none;
    border: 0;
    height: 16px;
}

.remove-discount-button {
    background-color: #00000000;
    background-image: none;
    border: 0;
    height: 14px;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.close-discount-svg {
    height: 16px;
    width: 16px;
    stroke: var(--muted-foreground);
}

.remove-discount-svg {
    height: 14px;
    width: 14px;
    stroke: var(--muted-foreground);
}

.close-discount-svg:hover, .remove-discount-svg:hover {
    stroke: var(--foreground);
}

.discount-price-container {
    display: flex;
    align-items: center;
    gap: 3px;
}

.discount-container {
    display: flex; 
    justify-content: space-between;
}

.discount-input {
    height: 2.75rem;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    padding: 0.5rem 1rem;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted-foreground);
    transition: all 0.2s;
    outline: none;
    margin-right: 0.5rem;
}

.discount-input:focus {
    outline: 2px solid var(--ring) !important;
    outline-offset: 2px !important;
}

.sf-member-discount-form-button {
    color: var(--foreground);
    text-shadow: none;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--background);
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    height: 2.75rem;
}

.sf-member-discount-form-button:disabled {
    opacity: 0.5;
}

.sf-member-discount-form-button:hover:enabled {
    color: #e5e7eb;
    background: var(--accent);
}
