* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #4d4d4d;
    color: white;
}

.app-container {

    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    border-left: 2px solid #333;
    border-right: 2px solid #333;
    background-color: #EBF7F9;
    overflow: hidden;
}

/* Responsive Styles für Desktop */
@media (min-width: 769px) {
    .app-container {
       /* max-width: 1200px;*/
        display: grid;
        grid-template-areas: 
            "header header"
            "nav content";
        grid-template-columns: 0px 1fr;
        grid-template-rows: auto 1fr;
        min-height: 100vh;
        border: none;
        border-radius: 20px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        margin: 20px auto;
    }

    /*.app-container::before {
        content: '';
        grid-area: header;
        background-color: #14363e;
        border-radius: 20px 20px 0 0;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
        font-weight: bold;
    }*/

     .nav-bar {
        grid-area: nav;
        position: relative;
        bottom: unset;
        left: unset;
        right: unset;
        max-width: unset;
        margin: unset;
        height: 100%;
        background-color: #14363e;
        display: flex;
        flex-direction: column;
        border-radius: 0 0 0 20px;
        padding-top: 20px;
    } 

    .nav-item {
        position: relative;
        height: 60px;
        /*width: 100%;*/
        color: white;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin-bottom: 10px;
        border-radius: 30px 0 0 30px;
        transition: all 0.3s ease;
    }

    .nav-item:hover {
        background-color: #1a4a55;
    }

    .nav-item.active {
        background-color: #1a4a55;
        box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.2);
    }

    .view-container {
        grid-area: content;
        height: 100%;
        overflow-y: auto;
        background-color: #EBF7F9;
    }

    .active-view {
        display: block;
    }

    /* Header Anpassungen für Desktop */
    .header, .profile-header, .untersuchungen-header {
        border-radius: 0;
        padding: 40px;
        text-align: left;
        background: linear-gradient(135deg, #14363e 0%, #1a4a55 100%);
    }

    .header h1 {
        font-size: 36px;
    }

    /* Content Layout für Desktop */
    .checkup-list {
        padding: 40px;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 20px;
    }

    .checkup-item {
        border-radius: 15px;
        padding: 20px 30px;
        font-size: 18px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .checkup-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* Profile Layout für Desktop */
    .profile-content {
        padding: 40px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .avatar {
        width: 200px;
        height: 400px;
    }

    .profile-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding-right: 0;
    }

    /* Profile Edit Layout für Desktop */
    .profile-edit-content {
        padding: 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        align-items: start;
    }

    .edit-field:nth-child(1) {
        grid-column: 1 / -1;
    }

    /* Untersuchungen Main Layout für Desktop */
    .untersuchungen-main {
        padding: 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        min-height: calc(100vh - 130px);
    }

    .untersuchungen-button {
        padding: 60px 30px;
        font-size: 20px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .untersuchungen-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    /* Authentication Layout für Desktop */
    .auth-container {
        padding: 60px;
        justify-content: center;
        align-items: center;
        background-color: #EBF7F9;
    }

    .auth-form {
        width: 100%;
        max-width: 500px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .auth-form .input-group:nth-child(1),
    .auth-form .input-group:nth-child(2),
    .auth-form .input-group:nth-child(3) {
        grid-column: 1 / -1;
    }

    .auth-button {
        grid-column: 1 / -1;
        padding: 20px;
        font-size: 20px;
    }

    /* Action Buttons Layout */
    .examination-actions {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 20px;
    }

    .profile-actions, .profile-edit-actions {
        display: flex;
        justify-content: center;
        gap: 20px;
        padding: 20px;
        background-color: #14363e;
        border-radius: 0 0 0 20px;
    }

    .action-button {
        border-radius: 15px;
        padding: 20px 40px;
        font-size: 18px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .action-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

   .logout-button {
    border-radius: 15px;
    padding: 15px 30px;
    font-size: 16px;
    background-color: #14363e;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Make it responsive */
    min-width: 120px;
    max-width: 250px;
    width: auto;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    margin: 10px auto;
}

    .logout-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
}

/* Tablet Styles */
@media (min-width: 481px) and (max-width: 768px) {
    .app-container {
        max-width: 768px;
        border-radius: 15px;
        margin: 20px auto;
    }

    .header, .profile-header, .untersuchungen-header {
        padding: 35px;
    }

    .checkup-list {
        padding: 30px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile-content {
        padding: 30px;
        grid-template-columns: 1fr;
    }

    .untersuchungen-main {
        padding: 30px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logout-button {
    border-radius: 15px;
    padding: 15px 30px;
    font-size: 16px;
    background-color: #14363e;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Make it responsive */
    min-width: 120px;
    max-width: 250px;
    width: auto;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    margin: 10px auto;
}
}

/* Original Mobile Styles werden beibehalten */
.view-container {
    display: none;
    width: 100%;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.active-view {
    display: block;
}

.header {
    background-color: #14363e;
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.checkup-list {
    padding: 20px;
}

.checkup-item {
    background-color: #14363e;
    border-radius: 50px 15px 50px 15px;
    padding: 15px 25px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
}

.checkup-item .icon {
    font-size: 24px;
    font-weight: bold;
}

.checkup-details {
    background-color: #14363e;
    border-radius: 30px;
    padding: 20px;
    margin-bottom: 20px;
    color: white;
}

.checkup-details h3 {
    margin-bottom: 15px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.form-control {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    border: none;
    background-color: white;
    color: black;
    font-size: 16px;
    text-align: center;
}

.nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    margin: 0 auto;
    height: 80px;
    background-color: #14363e;
}

.nav-item {
    position: absolute;
    top: 0;
    height: 80px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.nav-item:first-child {
    left: 0;
    right: 50%;
    background-color: #14363e;
    border-radius: 0 80px 0 0;
}

.nav-item:last-child {
    left: 50%;
    right: 0;
    background-color: #14363e;
    border-radius: 80px 0 0 0;
}

.nav-item.active {
    background-color: #1a4a55;
    box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
}

/* Remove old nav styles */
.nav-item:first-child.active {
    background-color: #1a4a55;
    border-radius: 0 80px 0 0;
}

.nav-item:last-child.active {
    background-color: #1a4a55;
    border-radius: 80px 0 0 0;
}

/* Three-button navigation layout */
.nav-bar.three-buttons {
    display: flex;
}

.nav-bar.three-buttons .nav-item {
    position: relative;
    flex: 1;
    border-radius: 0;
}

.nav-bar.three-buttons .nav-item:first-child {
    border-radius: 30px 0 0 0;
}

.nav-bar.three-buttons .nav-item:last-child {
    border-radius: 0 30px 0 0;
}

/* Für die Checkmark bei ausgeklapptem Bereich */
.checkup-item.active .icon {
    transform: rotate(90deg);
}

.checkup-item.completed .icon {
    content: "✓";
}

/* Profile Styles */
.profile-header {
    background-color: #14363e;
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
}

.profile-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #EBF7F9;
    color: #14363e;
    min-height: calc(100% - 212px); /* Für die Größe des Inhaltsbereichs */
}

.avatar-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: -100px;
    margin-top: -100px;
}

.avatar {
    width: 360px;
    height: 700px;
    background-image: url('../Images/char_pic.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.profile-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 0;
}

.info-pill {
    background-color: #14363e;
    color: white;
    padding: 15px 30px;
    border-radius: 50px 15px 50px 15px;
    margin-bottom: 15px;
    width: 60%;
    text-align: center;
    font-size: 18px;
}

.profile-actions {
    display: flex;
    justify-content: center;
    padding: 15px;
    background-color: #14363e;
    border-radius: 30px 30px 30px 30px;
}

.action-button {
    padding: 15px 30px;
    border-radius: 30px;
    background-color: #14363e;
        box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
    color: white;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    width: 90%;
}

/* Profile Edit Styles */
.profile-edit-content {
    padding: 20px;
    background-color: #EBF7F9;
    min-height: calc(100vh - 260px);
}

.edit-field {
    margin-bottom: 20px;
}

.edit-field label {
    display: block;
    color: #14363e;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

.gender-toggle {
    background-color: #14363e;
    border-radius: 50px;
    padding: 5px;
    display: flex;
    position: relative;
}

.toggle-option {
    flex: 1;
    padding: 15px;
    text-align: center;
    box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
    color: white;
    cursor: pointer;
    border-radius: 45px;
    transition: all 0.3s ease;
}

.toggle-option.active {
    background-color: white;
    color: #14363e;
}

.edit-input {
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
    border: none;
    background-color: #14363e;
    color: white;
    font-size: 16px;
    text-align: center;
}

.edit-input::placeholder {
    color: #ccc;
}

.profile-edit-actions {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #14363e;
    border-radius: 30px 30px 30px 30px;
}

/* Untersuchungen Main Page Styles */
.untersuchungen-main {
    padding: 20px;
    min-height: calc(100vh - 130px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.untersuchungen-header {
    background-color: #14363e;
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 20px;
}

.untersuchungen-button {
    background-color: #14363e;
    color: white;
    padding: 45px 20px;
    box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
    text-align: center;
    border-radius: 15px;
    margin-bottom: 20px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    width: 100%;
}

/* Action buttons for moving examinations */
.examination-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.action-btn {
    background-color: #b8dce2;
    color: #14363e;
    border: none;
    box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
    border-radius: 25px;
    padding: 20px 0px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    flex: 1;
    min-width: 120px;
}

.action-btn:hover {
    background-color: #a0d0d6;
}

.action-btn.secondary {
    background-color: #ffffff;
    color: #14363e;
}

.action-btn.secondary:hover {
    background-color: #e6e6e6;
}

/* Authentication Styles */
.auth-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #EBF7F9;
}

.auth-title {
    color: #14363e;
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
}

.auth-form {
    width: 100%;
    max-width: 350px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #14363e;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.auth-input {
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
    border: none;
    background-color: #14363e;
    color: white;
    font-size: 16px;
    outline: none;
}

.auth-input::placeholder {
    color: #ccc;
}

.auth-select {
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    border: none;
    background-color: #14363e;
    color: white;
    font-size: 16px;
    outline: none;
}

.auth-select option {
    background-color: #14363e;
    color: white;
}

.auth-button {
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    border: none;
    box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
    background-color: #14363e;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

.auth-switch {
    text-align: center;
    margin-top: 30px;
}

.auth-switch p {
    color: #14363e;
    font-size: 16px;
}

.switch-link {
    color: #14363e;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

/* Additional Desktop Improvements */
@media (min-width: 769px) {
    /* Scrollbar Styling */
    .view-container::-webkit-scrollbar {
        width: 8px;
    }

    .view-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .view-container::-webkit-scrollbar-thumb {
        background: #14363e;
        border-radius: 4px;
    }

    .view-container::-webkit-scrollbar-thumb:hover {
        background: #1a4a55;
    }

    /* Enhanced Animations */
    .view-container {
        transition: all 0.3s ease;
    }

    .checkup-details {
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 480px) {
 .logout-button {
    border-radius: 15px;
    padding: 15px 30px;
    font-size: 16px;
    background-color: #14363e;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: inset -20px -23px 12px -5px rgba(0, 0, 0, 0.2), inset 19px 27px 12px 0px rgba(107, 107, 107, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Make it responsive */
    min-width: 120px;
    max-width: 250px;
    width: auto;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    margin: 10px auto;
}
}

/* ARZT DROPDOWN & MODAL STYLES - For arztDropdown.js */

/* Dropdown Wrapper */
.arzt-dropdown-wrapper {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.arzt-dropdown {
    flex: 1;
    min-width: 150px;
    padding: 12px 15px;
    border-radius: 25px;
    border: none;
    background-color: white;
    color: #14363e;
    font-size: 16px;
    cursor: pointer;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.arzt-dropdown:focus {
    outline: none;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(26, 74, 85, 0.3);
    transform: translateY(-1px);
}

.arzt-dropdown option {
    padding: 10px;
    background-color: white;
    color: #14363e;
}

/* Neu & Info Buttons */
.arzt-neu-btn, .arzt-info-btn {
    background-color: #b8dce2;
    color: #14363e;
    border: none;
    border-radius: 20px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset -10px -12px 6px -3px rgba(0, 0, 0, 0.1), inset 10px 14px 6px 0px rgba(107, 107, 107, 0.15);
    white-space: nowrap;
    min-width: 60px;
}

.arzt-neu-btn:hover, .arzt-info-btn:hover {
    background-color: #a0d0d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.arzt-info-btn {
    background-color: #ffffff;
    color: #14363e;
}

.arzt-info-btn:hover {
    background-color: #f0f0f0;
}

/* Modal Overlay */
.arzt-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

/* Modal Box */
.arzt-modal-box {
    background-color: #14363e;
    border-radius: 30px;
    padding: 30px 25px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

/* Modal Title */
.arzt-modal-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    color: white;
    font-weight: bold;
}

/* Form Groups */
.arzt-modal-form-group {
    margin-bottom: 20px;
}

.arzt-modal-label {
    display: block;
    color: white;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

/* Form Controls inside Modal */
.arzt-modal-box .form-control {
    width: 100%;
    padding: 15px 20px;
    border-radius: 25px;
    border: none;
    background-color: white;
    color: #14363e;
    font-size: 16px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.arzt-modal-box .form-control:focus {
    outline: none;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(184, 220, 226, 0.5);
    transform: translateY(-1px);
}

.arzt-modal-box .form-control::placeholder {
    color: #999;
    font-style: italic;
}

/* Modal Buttons Row */
.arzt-modal-btn-row {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.arzt-modal-btn {
    padding: 15px 30px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 150px;
    box-shadow: inset -15px -18px 8px -3px rgba(0, 0, 0, 0.15), inset 15px 20px 8px 0px rgba(107, 107, 107, 0.2);
}

/* Primary Modal Button (Abbrechen) */
.arzt-modal-btn {
    background-color: #b8dce2;
    color: #14363e;
}

.arzt-modal-btn:hover {
    background-color: #a0d0d6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Secondary Modal Button (Speichern) */
.arzt-modal-btn.secondary {
    background-color: white;
    color: #14363e;
}

.arzt-modal-btn.secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Info Modal Specific Styles */
.arzt-modal-box .arzt-modal-form-group a {
    color: #b8dce2;
    text-decoration: underline;
}

.arzt-modal-box .arzt-modal-form-group a:hover {
    color: #a0d0d6;
}

/* Animations */
@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);
    }
}

/* RESPONSIVE STYLES */

/* Mobile Styles */
@media (max-width: 480px) {
    .arzt-dropdown-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .arzt-dropdown {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .arzt-neu-btn, .arzt-info-btn {
        padding: 12px 50px;
        font-size: 14px;
        flex: 1;
    }
    
    .arzt-modal-box {
        margin: 10px;
        padding: 25px 20px;
        border-radius: 25px;
    }
    
    .arzt-modal-title {
        font-size: 20px;
    }
    
    .arzt-modal-btn-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .arzt-modal-btn {
        max-width: none;
        width: 100%;
    }
}

/* Tablet Styles */
@media (min-width: 481px) and (max-width: 768px) {
    .arzt-dropdown-wrapper {
        gap: 12px;
    }
    
    .arzt-neu-btn, .arzt-info-btn {
        padding: 14px 22px;
        font-size: 15px;
        min-width: 70px;
    }
    
    .arzt-modal-box {
        padding: 35px 30px;
        max-width: 450px;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .arzt-dropdown-wrapper {
        gap: 15px;
    }
    
    .arzt-dropdown {
        padding: 15px 20px;
        font-size: 17px;
    }
    
    .arzt-dropdown:hover {
        transform: translateY(-1px);
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .arzt-neu-btn, .arzt-info-btn {
        padding: 15px 25px;
        font-size: 16px;
        min-width: 80px;
        border-radius: 25px;
    }
    
    .arzt-modal-box {
        padding: 40px;
        border-radius: 25px;
        max-width: 600px;
    }
    
    .arzt-modal-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .arzt-modal-btn {
        padding: 18px 35px;
        font-size: 18px;
        max-width: 180px;
    }
    
    /* Enhanced hover effects for desktop */
    .arzt-modal-box {
        transition: transform 0.3s ease;
    }
    
    .arzt-modal-overlay {
        backdrop-filter: blur(8px);
    }
}

/* Form validation styles */
.arzt-modal-box .form-control:invalid {
    box-shadow: inset 0 2px 8px rgba(255, 0, 0, 0.2), 0 0 0 2px rgba(255, 107, 107, 0.3);
}

.arzt-modal-box .form-control:valid {
    box-shadow: inset 0 2px 8px rgba(0, 255, 0, 0.1), 0 0 0 2px rgba(81, 207, 102, 0.2);
}

/* Scrollbar for modal content */
.arzt-modal-box::-webkit-scrollbar {
    width: 6px;
}

.arzt-modal-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.arzt-modal-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.arzt-modal-box::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}