.profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 110px 20px 50px;
}

.profile-container h1 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-size: 32px;
}

.profile-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.profile-section h2 {
    color: #4a4a4a;
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a4a4a;
    box-shadow: 0 0 0 3px rgba(74, 74, 74, 0.1);
}

.form-group input:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.form-group small {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.btn-primary {
    padding: 12px 30px;
    background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(74, 74, 74, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(145deg, #5a5a5a, #4a4a4a);
    box-shadow: 0 6px 16px rgba(74, 74, 74, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 10px 20px;
    background: white;
    color: #4a4a4a;
    border: 2px solid #4a4a4a;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

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

/* Checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-item:hover {
    border-color: #4a4a4a;
    background: #f9f9f9;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-item span {
    font-size: 14px;
    color: #333;
}

.checkbox-item input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #4a4a4a;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #333;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

/* Mobile responsive - DYNAMISK LUFT */
@media (max-width: 768px) {
    body {
        padding-bottom: 30px !important;
    }
    
    .profile-container {
        padding: 80px 0 30px !important;
        width: calc(100% - 40px) !important;
        margin: 0 20px 30px 20px !important;
        max-width: none !important;
    }
    
    .profile-section {
        padding: 20px;
        border-radius: 15px;
        margin-left: 0;
        margin-right: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding-bottom: 30px !important;
    }
    
    .profile-container {
        padding: 80px 0 30px !important;
        width: calc(100% - 30px) !important;
        margin: 0 15px 30px 15px !important;
        max-width: none !important;
    }
    
    .profile-section {
        padding: 15px;
        border-radius: 12px;
        margin-left: 0;
        margin-right: 0;
    }
}
/* Disabled state for all input types */
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background: #f5f5f5 !important;
    cursor: not-allowed !important;
    color: #999 !important;
}

/* Disabled checkboxes */
.checkbox-item input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.checkbox-item input[type="checkbox"]:disabled + span {
    color: #999;
    cursor: not-allowed;
}