*

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

        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f4f4f4;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        header {
            background-color: #29733A;
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
        }

        .logo_2 {
            font-size: 1.8rem;
            font-weight: bold;
        }

        .language-switcher {
            display: flex;
            gap: 5px;
            background-color: gray;
        }

        .lang-btn {
            background-color: transparent;
            color: white;
            border: 1px solid white;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s;
        }

        .lang-btn:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .lang-btn.active {
            background-color: #29733A;
            color: white;
        }

        nav {
            flex: 1;
            margin-left: 2rem;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 20px;
            margin-top: 10px;
        }

        nav ul li a {
            color: white;
            text-decoration: none;
            padding: 8px 15px;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        nav ul li a:hover,
        nav ul li a.active {
            background-color: #3182ce;
        }

        main {
            padding: 2rem 0;
            min-height: calc(100vh - 200px);
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.5s;
        }

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

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .card {
            background: white;
            /*padding: 2rem;*/
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: bold;
            color: #555;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid #e2e8f0;
            border-radius: 4px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #3182ce;
        }

        .input-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }

        .btn {
            background-color: #29733A;
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1rem;
            transition: background-color 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .btn:hover {
            background-color: #1b5428
        ;
        }

        .btn-secondary {
            background-color: #6b7280;
        }

        .btn-secondary:hover {
            background-color: #4b5563;
        }

        .btn-success {
            background-color: #10b981;
        }

        .btn-success:hover {
            background-color: #059669;
        }

        .btn-danger {
            background-color: #ef4444;
        }

        .btn-danger:hover {
            background-color: #dc2626;
        }

        .alert {
            padding: 1rem;
            margin-bottom: 1rem;
            border-radius: 4px;
            border-left: 4px solid;
        }

        .alert-success {
            background-color: #d1fae5;
            border-left-color: #10b981;
            color: #065f46;
        }

        .alert-error {
            background-color: #fee2e2;
            border-left-color: #ef4444;
            color: #7f1d1d;
        }

        .alert-warning {
            background-color: #fef3c7;
            border-left-color: #f59e0b;
            color: #7c2d12;
        }

        .alert-info {
            background-color: #dbeafe;
            border-left-color: #3b82f6;
            color: #1e3a8a;
        }

        .modal-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .modal {
            background: white;
            border-radius: 8px;
            max-width: 600px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-header {
            padding: 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            justify-content: between;
            align-items: center;
        }

        .modal-title {
            margin: 0;
            color: #1f2937;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            margin-left: auto;
        }

        .modal-body {
            padding: 1.5rem;
        }

        .modal-footer {
            padding: 1.5rem;
            border-top: 1px solid #e5e7eb;
            display: flex;
            gap: 1rem;
            justify-content: flex-end;
        }

        .blood-pressure-input {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .blood-pressure-input input {
            width: 80px;
            text-align: center;
        }

        .measurement-history {
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 4px;
            margin-top: 1rem;
        }

        .measurement-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid #e5e7eb;
        }

        .measurement-item:last-child {
            border-bottom: none;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #e5e7eb;
        }

        th {
            background-color: #f8f9fa;
            font-weight: bold;
            color: #374151;
        }

        tr:hover {
            background-color: #f8f9fa;
        }

        .stats-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
        }

        .stats-number {
            font-size: 2.5rem;
            font-weight: bold;
            display: block;
        }

        .stats-label {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        footer {
            background-color: #374151;
            color: white;
            padding: 2rem 0;
            margin-top: 3rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            color: #e5e7eb;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: #d1d5db;
            text-decoration: none;
        }

        .footer-links a:hover {
            color: white;
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid #4b5563;
            margin-top: 2rem;
            color: #9ca3af;
        }

        .loader {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #3182ce;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 20px auto;
            display: none;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .pressure-status {
            padding: 0.5rem 1rem;
            border-radius: 4px;
            font-weight: bold;
            text-align: center;
        }

        .pressure-normal {
            background-color: #d1fae5;
            color: #065f46;
        }

        .pressure-high-normal {
            background-color: #fef3c7;
            color: #7c2d12;
        }

        .pressure-high {
            background-color: #fee2e2;
            color: #7f1d1d;
        }

        .pressure-very-high {
            background-color: #7f1d1d;
            color: white;
        }

        .equipment-info {
            background-color: #f0f9ff;
            border: 1px solid #0ea5e9;
            border-radius: 4px;
            padding: 1rem;
            margin-top: 1rem;
        }

        .measurement-steps {
            background-color: #fffbeb;
            border: 1px solid #f59e0b;
            border-radius: 4px;
            padding: 1rem;
            margin-bottom: 1rem;
        }

        .measurement-steps h4 {
            margin-bottom: 0.5rem;
            color: #7c2d12;
        }

        .measurement-steps ol {
            margin-left: 1.5rem;
        }

        .measurement-steps li {
            margin-bottom: 0.5rem;
        }



/* Enhanced Confirmation Modal Styles */
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.confirmation-modal.show {
    display: flex;
}

.confirmation-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.confirmation-header {
    margin-bottom: 1.5rem;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.confirmation-title {
    color: #28a745;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
}

.confirmation-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

.confirmation-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.confirmation-details h4 {
    color: #495057;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    text-align: center;
}

.confirmation-item {
    display: flex;
    align-items: center;
    margin: 0.8rem 0;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

.confirmation-item-icon {
    color: #28a745;
    font-size: 1.2rem;
    margin-right: 0.8rem;
    flex-shrink: 0;
}

.confirmation-item-text {
    flex: 1;
}

.confirmation-item-text strong {
    color: #495057;
}

.email-confirmation {
    background: linear-gradient(135deg, #28a745, #29733A);
    color: white;
    border-left: 4px solid #0056b3;
}

.email-confirmation .confirmation-item-icon {
    color: white;
}

.email-confirmation .confirmation-item-text strong {
    color: white;
}

.confirmation-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-confirmation {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-confirmation.primary {
    background: linear-gradient(135deg, #28a745, #29733A);
    color: white;
}

.btn-confirmation.primary:hover {
    background: linear-gradient(135deg, #29733A, #107827);
    transform: translateY(-2px);
}

.btn-confirmation.secondary {
    background: #6c757d;
    color: white;
}

.btn-confirmation.secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive design */
@media (max-width: 600px) {
    .confirmation-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .btn-confirmation {
        width: 100%;
    }
}

/* Always keep Systolisk and Diastolisk on the same line in measurement groups */
.measurement-group .input-group {
    display: flex !important;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.measurement-group .form-group {
    flex: 1 1 120px;
    min-width: 120px;
    margin-bottom: 0; /* Remove extra margin between fields */
}

/* Optional: Reduce padding for mobile for more space */
@media (max-width: 600px) {
    .measurement-group .input-group {
        gap: 0.5rem;
    }
    .measurement-group .form-group {
        min-width: 100px;
        padding-right: 0;
    }
}

/* Checklist and Radio Button Styles */
.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #007bff;
}

.radio-buttons {
    display: flex;
    flex-direction: row;
    margin-right: 15px;
    min-width: 120px;
    gap: 5px;
}

.radio-group {
    display: flex;
    align-items: center;
    position: relative;
}

.radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-group label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    color: #6c757d;
    min-width: 50px;
}

.radio-group input[type="radio"]:checked + label {
    color: white;
    border-color: transparent;
}

.radio-group input[type="radio"][value="ja"]:checked + label {
    background-color: #28a745;
}

.radio-group input[type="radio"][value="nei"]:checked + label {
    background-color: #6c757d;
}

.radio-group label:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.radio-group_2 input[type="radio"][value="nei"]:checked + label {
    @include .radio-group;
    background-color: 28a745;
}



.checklist-text {
    flex: 1;
    line-height: 1.4;
}

.special-note {
    color: #dc3545;
    font-weight: bold;
}

.instruction-note {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-style: italic;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.results {
    background-color: #e7f3ff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #007bff;
}