:root {
            --primary: #13a89e;
            --primary-light: #3A7A64;
            --primary-dark: #1F4438;
            --accent: #D4A574;
            --accent-light: #E8C9A0;
            --background: #FAF7F4;
            --surface: #FFFFFF;
            --text-primary: #1A1A1A;
            --text-secondary: #6B6B6B;
            --text-muted: #9B9B9B;
            --border: #E5E0DB;
            --success: #4CAF50;
            --error: #E57373;
            --shadow-sm: 0 2px 8px rgba(45, 95, 79, 0.08);
            --shadow-md: 0 4px 16px rgba(45, 95, 79, 0.12);
            --shadow-lg: 0 8px 32px rgba(45, 95, 79, 0.16);
        }

        .container-b{
            max-width: 900px;
            margin: 10rem auto;
            padding: 2rem 1.5rem;
        }

        .header-b {
            text-align: center;
            margin-bottom: 3rem;
            animation: fadeInDown 0.6s ease-out;
        }

        .header-b h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.75rem;
            letter-spacing: -0.02em;
        }

        .header-b p {
            font-size: 1.125rem;
            color: var(--text-secondary);
            max-width: 500px;
            margin: 0 auto;
        }

        .donation-card {
            background: var(--surface);
            border-radius: 24px;
            padding: 2.5rem;
            box-shadow: var(--shadow-lg);
            animation: fadeInUp 0.6s ease-out;
        }

        .step-indicator {
            display: flex;
            justify-content: space-between;
            margin-bottom: 3rem;
            position: relative;
        }

        .step-indicator::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--border);
            z-index: 0;
        }

        .step-indicator-progress {
            position: absolute;
            top: 20px;
            left: 0;
            height: 2px;
            background: var(--primary);
            z-index: 1;
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            flex: 1;
        }

        .step-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--surface);
            border: 2px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.875rem;
            color: var(--text-muted);
            transition: all 0.3s ease;
            margin-bottom: 0.5rem;
        }

        .step.active .step-circle {
            border-color: var(--primary);
            background: var(--primary);
            color: white;
            box-shadow: 0 0 0 4px rgba(45, 95, 79, 0.1);
        }

        .step.completed .step-circle {
            border-color: var(--primary);
            background: var(--primary);
            color: white;
        }

        .step-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-align: center;
            font-weight: 500;
        }

        .step.active .step-label {
            color: var(--primary);
            font-weight: 600;
        }

        .step.completed .step-label {
            color: var(--primary);
        }

        .form-section {
            margin-bottom: 2.5rem;
        }

        .form-section:last-of-type {
            margin-bottom: 0;
        }

        .section-title {
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }

        /* Updated grid to 3 columns for better layout with 8 donation types */
        .donation-types {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .donation-type {
            position: relative;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .donation-type input[type="radio"] {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .donation-type-label {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1.5rem 1rem;
            border: 2px solid var(--border);
            border-radius: 16px;
            background: var(--surface);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            min-height: 120px;
            text-align: center;
        }

        .donation-type-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            transition: transform 0.3s ease;
        }

        .donation-type-name {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-primary);
            transition: color 0.3s ease;
        }

        .donation-type-name img{
            height: 25px;
        }

        .donation-type:hover .donation-type-label {
            border-color: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        .donation-type input[type="radio"]:checked + .donation-type-label {
            border-color: var(--primary);
            background: linear-gradient(135deg, rgba(45, 95, 79, 0.05) 0%, rgba(45, 95, 79, 0.02) 100%);
            box-shadow: var(--shadow-md);
        }

        .donation-type input[type="radio"]:checked + .donation-type-label .donation-type-icon {
            transform: scale(1.1);
        }

        .donation-type input[type="radio"]:checked + .donation-type-label .donation-type-name {
            color: #fa1616;
        }

        .form-step {
            display: none;
            animation: fadeInRight 0.4s ease-out;
        }

        .form-step.active {
            display: block;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.25rem;
        }

        .form-grid.two-col {
            grid-template-columns: repeat(2, 1fr);
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .form-label.optional::after {
            content: ' (İsteğe bağlı)';
            font-weight: 400;
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .form-input,
        .form-select,
        .form-textarea {
            padding: 0.875rem 1rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-size: 1rem;
            color: var(--text-primary);
            background: var(--surface);
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .form-textarea {
            resize: vertical;
            min-height: 100px;
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(45, 95, 79, 0.1);
        }

        .form-input::placeholder,
        .form-textarea::placeholder {
            color: var(--text-muted);
        }

        .form-input.error,
        .form-select.error {
            border-color: var(--error);
        }

        .donor-type-options {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .donor-type-option {
            position: relative;
        }

        .donor-type-option input[type="radio"] {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .donor-type-label {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            background: var(--surface);
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            color: var(--text-primary);
        }

        .donor-type-option:hover .donor-type-label {
            border-color: var(--primary-light);
        }

        .donor-type-option input[type="radio"]:checked + .donor-type-label {
            border-color: var(--primary);
            background: var(--primary);
            color: white;
        }

        .gender-options {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .gender-option {
            position: relative;
        }

        .gender-option input[type="radio"] {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .gender-label {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            background: var(--surface);
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            color: var(--text-primary);
        }

        .gender-option:hover .gender-label {
            border-color: var(--primary-light);
        }

        .gender-option input[type="radio"]:checked + .gender-label {
            border-color: var(--primary);
            background: var(--primary);
            color: white;
        }

        .card-preview {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
            color: white;
            box-shadow: var(--shadow-lg);
        }

        .card-number-display {
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            margin-bottom: 1.5rem;
            font-family: 'Courier New', monospace;
        }

        .card-details-display {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

        .card-holder-display {
            font-size: 0.875rem;
            opacity: 0.8;
            margin-bottom: 0.25rem;
        }

        .card-holder-name {
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .card-expiry-display {
            text-align: right;
        }

        .card-expiry-label {
            font-size: 0.75rem;
            opacity: 0.8;
            margin-bottom: 0.25rem;
        }

        .card-expiry-value {
            font-size: 1rem;
            font-weight: 600;
        }

        .card-inputs-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 1rem;
        }

        .button-group {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .button {
            flex: 1;
            padding: 1.125rem 2rem;
            border: none;
            border-radius: 12px;
            font-size: 1.125rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow-md);
        }

        .button-primary {
            background: var(--primary);
            color: white;
        }

        .button-primary:hover:not(:disabled) {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .button-primary:active:not(:disabled) {
            transform: translateY(0);
        }

        .button-primary:disabled {
            background: var(--border);
            color: var(--text-muted);
            cursor: not-allowed;
            box-shadow: none;
        }

        .button-secondary {
            background: var(--surface);
            color: var(--text-primary);
            border: 2px solid var(--border);
        }

        .button-secondary:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
        }

        .button-secondary:active {
            transform: translateY(0);
        }

        .info-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            background: linear-gradient(135deg, rgba(212, 165, 116, 0.15) 0%, rgba(212, 165, 116, 0.05) 100%);
            border: 1px solid var(--accent-light);
            border-radius: 12px;
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-top: 1.5rem;
        }

        .info-icon {
            font-size: 1.125rem;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Enhanced mobile responsive design for perfect mobile experience */
        @media (max-width: 768px) {
          

            .header {
                margin-bottom: 2rem;
            }

            .header h1 {
                font-size: 2rem;
            }

            .header p {
                font-size: 1rem;
            }

            .donation-card {
                padding: 2rem 1.5rem;
                border-radius: 20px;
            }

            /* Donation types grid optimized for tablet */
            .donation-types {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.875rem;
            }

            .donation-type-label {
                padding: 1.25rem 0.75rem;
                min-height: 110px;
            }

            .donation-type-icon {
                font-size: 1.75rem;
            }

            .donation-type-name {
                font-size: 0.85rem;
            }

            .step-indicator {
                margin-bottom: 2rem;
            }

            .step-circle {
                width: 36px;
                height: 36px;
                font-size: 0.8rem;
            }

            .step-label {
                font-size: 0.7rem;
            }

            .form-grid.two-col {
                grid-template-columns: 1fr;
            }

            .card-preview {
                padding: 1.5rem;
            }

            .card-number-display {
                font-size: 1.25rem;
            }

            .card-holder-name {
                font-size: 0.9rem;
            }

            .card-expiry-value {
                font-size: 0.9rem;
            }

            .card-inputs-grid {
                grid-template-columns: 1fr 1fr;
                gap: 0.875rem;
            }

            .card-inputs-grid .form-group:first-child {
                grid-column: 1 / -1;
            }

            .button {
                padding: 1rem 1.5rem;
                font-size: 1rem;
            }

            .button-group {
                gap: 0.75rem;
            }
        }

        /* Perfect mobile responsive design for small screens */
        @media (max-width: 480px) {
        
            .header {
                margin-bottom: 1.5rem;
            }

            .header h1 {
                font-size: 1.75rem;
            }

            .header p {
                font-size: 0.95rem;
            }

            .donation-card {
                padding: 1.5rem 1rem;
                border-radius: 16px;
            }

            .step-indicator {
                margin-bottom: 1.5rem;
            }

            .step-circle {
                width: 32px;
                height: 32px;
                font-size: 0.75rem;
                margin-bottom: 0.375rem;
            }

            .step-label {
                font-size: 0.65rem;
            }

            .section-title {
                font-size: 0.8rem;
                margin-bottom: 0.875rem;
            }

            .donation-types {
                gap: 0.75rem;
                margin-bottom: 1.5rem;
            }

            .donation-type-label {
                padding: 1rem 0.5rem;
                min-height: 100px;
            }

            .donation-type-icon {
                font-size: 1.5rem;
                margin-bottom: 0.375rem;
            }

            .donation-type-name {
                font-size: 0.8rem;
                line-height: 1.3;
            }

            .form-section {
                margin-bottom: 2rem;
            }

            .form-grid {
                gap: 1rem;
            }

            .form-label {
                font-size: 0.85rem;
                margin-bottom: 0.375rem;
            }

            .form-input,
            .form-select,
            .form-textarea {
                padding: 0.75rem 0.875rem;
                font-size: 0.95rem;
            }

            .donor-type-options,
            .gender-options {
                gap: 0.75rem;
            }

            .donor-type-label,
            .gender-label {
                padding: 0.875rem;
                font-size: 0.9rem;
            }

            .card-preview {
                padding: 1.25rem;
                margin-bottom: 1.5rem;
            }

            .card-number-display {
                font-size: 1.1rem;
                margin-bottom: 1.25rem;
            }

            .card-holder-display {
                font-size: 0.75rem;
            }

            .card-holder-name {
                font-size: 0.85rem;
            }

            .card-expiry-label {
                font-size: 0.7rem;
            }

            .card-expiry-value {
                font-size: 0.85rem;
            }

            .card-inputs-grid {
                gap: 0.75rem;
            }

            .button {
                padding: 0.875rem 1.25rem;
                font-size: 0.95rem;
            }

            .button-group {
                margin-top: 1.5rem;
                gap: 0.625rem;
                flex-direction: column-reverse;
            }

            .info-badge {
                padding: 0.625rem 1rem;
                font-size: 0.8rem;
                margin-top: 1.25rem;
            }
        }

        /* Mobile responsive for success message */
        @media (max-width: 480px) {
            .success-message {
                padding: 2rem 1rem;
            }

            .success-icon {
                font-size: 3rem;
            }

            .success-message h2 {
                font-size: 1.5rem;
            }

            .success-message p {
                font-size: 1rem;
            }

            /* Mobile responsive for payment tabs */
            .payment-tab {
                padding: 0.875rem 1rem;
                font-size: 0.8rem;
            }

            .payment-tab i {
                font-size: 1rem;
            }

            .iban-card {
                padding: 1.5rem;
            }

            .iban-card h4 {
                font-size: 1.1rem;
            }

            .bank-detail {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.25rem;
                padding: 1rem 0;
            }

            .bank-detail .value {
                font-size: 0.9rem;
            }

            .iban-number {
                font-size: 0.8rem;
                flex-wrap: wrap;
            }

            .iban-instructions {
                padding: 1.25rem;
            }

            .iban-instructions li {
                font-size: 0.85rem;
            }
        }

        .success-message {
            display: none;
            text-align: center;
            padding: 3rem 2rem;
            animation: fadeInUp 0.6s ease-out;
        }

        .success-message.show {
            display: block;
        }

        .success-icon {
            font-size: 4rem;
            color: var(--success);
            margin-bottom: 1rem;
        }

        .success-message h2 {
            font-size: 1.75rem;
            color: var(--primary);
            margin-bottom: 0.75rem;
        }

        .success-message p {
            font-size: 1.125rem;
            color: var(--text-secondary);
        }

        /* Payment Tabs Styles */
        .payment-tabs {
            display: flex;
            margin-bottom: 2rem;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .payment-tab {
            flex: 1;
            padding: 1rem 1.5rem;
            border: none;
            background: var(--surface);
            color: var(--text-secondary);
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            border-bottom: 3px solid transparent;
        }

        .payment-tab:hover {
            background: var(--background);
            color: var(--primary);
        }

        .payment-tab.active {
            background: var(--primary);
            color: white;
            border-bottom-color: var(--primary-dark);
        }

        .payment-tab i {
            font-size: 1.1rem;
        }

        .payment-content {
            display: none;
            animation: fadeInRight 0.4s ease-out;
        }

        .payment-content.active {
            display: block;
        }

        /* IBAN Payment Styles */
        .iban-info {
            margin-bottom: 2rem;
        }

        .iban-card {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: 16px;
            padding: 2rem;
            margin-top: 1rem;
            color: white;
            box-shadow: var(--shadow-lg);
        }

        .iban-card h4 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-align: center;
        }

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

        .bank-detail {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .bank-detail:last-child {
            border-bottom: none;
        }

        .bank-detail .label {
            font-weight: 600;
            opacity: 0.9;
            font-size: 0.9rem;
        }

        .bank-detail .value {
            font-weight: 700;
            font-size: 1rem;
        }

        .iban-number {
            font-family: 'Courier New', monospace;
            letter-spacing: 0.05em;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .copy-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            border-radius: 6px;
            padding: 0.5rem;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .copy-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .iban-instructions {
            background: var(--background);
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 1.5rem;
        }

        .iban-instructions h5 {
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 1rem;
            font-size: 1rem;
        }

        .iban-instructions ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .iban-instructions li {
            padding: 0.5rem 0;
            color: var(--text-secondary);
            font-size: 0.9rem;
            position: relative;
            padding-left: 1.5rem;
        }

        .iban-instructions li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--primary);
            font-weight: bold;
        }
        /* Custom Select Styles */
        .custom-select {
            position: relative;
            width: 100%;
        }

        .select-trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.875rem 1rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            background: var(--surface);
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            color: var(--text-primary);
        }

        .select-trigger:hover {
            border-color: var(--primary-light);
        }

        .select-trigger.active {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(45, 95, 79, 0.1);
        }

        .select-text {
            flex: 1;
        }

        .select-text.placeholder {
            color: var(--text-muted);
        }

        .select-arrow {
            transition: transform 0.3s ease;
            color: var(--text-muted);
        }

        .select-trigger.active .select-arrow {
            transform: rotate(180deg);
        }

        .select-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--surface);
            border: 2px solid var(--primary);
            border-top: none;
            border-radius: 0 0 12px 12px;
            max-height: 300px;
            overflow-y: auto;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            box-shadow: var(--shadow-lg);
        }

        .select-options.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .option-group {
            border-bottom: 1px solid var(--border);
        }

        .option-group:last-child {
            border-bottom: none;
        }

        .group-label {
            padding: 0.75rem 1rem 0.5rem;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            background: var(--background);
        }

        .option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--text-primary);
        }

        .option:hover {
            background: var(--background);
            color: var(--primary);
        }

        .option.selected {
            background: var(--primary);
            color: white;
        }

        .option i {
            width: 16px;
            text-align: center;
            opacity: 0.7;
        }

        .option.selected i {
            opacity: 1;
        }

        /* Mobile responsive for custom select */
        @media (max-width: 480px) {
            .select-options {
                max-height: 250px;
            }

            .group-label {
                padding: 0.625rem 0.875rem 0.375rem;
                font-size: 0.75rem;
            }

            .option {
                padding: 0.625rem 0.875rem;
                gap: 0.5rem;
            }

            .option span {
                font-size: 0.9rem;
            }
        }