.dashboard-settings-email { grid-column: span 6; }
.dashboard-settings-form { grid-column: span 6; }
.dashboard-settings-pin { grid-column: span 12; margin-top: 20px; }
.dashboard-settings-background { grid-column: span 12; margin-top: 20px; }

.settings-form-content {
    padding: 20px 5px;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 15px;
    font-weight: bold;
    color: #00aaff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-input {
    padding: 12px 15px;
    border-radius: 8px;
    background: #00294a;
    border: 1px solid #003158;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.8);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
    width: 100%;
}

.settings-input:focus {
    outline: none;
    border-color: #00aaff;
    box-shadow: 0 0 0 2px rgba(0, 170, 255, 0.2);
}

.settings-input::placeholder {
    color: #4f8196;
}

.form-text {
    font-size: 13px;
    color: #8fa8c7;
    margin-top: 5px;
    line-height: 1.4;
}

.pin-status {
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: bold;
}

.pin-disabled {
    background: #fb2727;
    color: #f3f3f3;
    border: 2px solid #d44444;
}

.pin-enabled {
    background: #0e8183;
    color: #f3f3f3;
    border: 2px solid #046d70;
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-settings-submit {
    position: relative;
    padding: 12px 25px;
    color: #fff;
    background: linear-gradient(to bottom, #00b033 0%, #00b034 50%, #008926 50%, #008926 100%);
    border: 2px solid #000000;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    flex: 1;
}

.btn-settings-submit:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid #00ff4f;
    border-radius: 4px;
    pointer-events: none;
}

.btn-settings-submit:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-settings-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-settings-danger {
    position: relative;
    padding: 12px 25px;
    color: #fff;
    background: linear-gradient(to bottom, #fb2727 0%, #fb2727 50%, #d44444 50%, #d44444 100%);
    border: 2px solid #000000;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    flex: 1;
}

.btn-settings-danger:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid #ff4f4f;
    border-radius: 4px;
    pointer-events: none;
}

.btn-settings-danger:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-settings-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.background-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.background-form {
    margin: 0;
    padding: 0;
    display: block;
}

.background-item {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    border: 2px solid #003761;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.background-item:hover:not(:disabled) {
    border-color: #00aaff;
    transform: scale(1.05);
}

.background-item:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.background-item:hover .background-overlay {
    opacity: 1;
}

.background-overlay i {
    color: #00ff4f;
    font-size: 24px;
}

.home-icon-email {
    background: url('../imgs/mail_icon.png');
    width: 36px;
    height: 29px;
    margin-right: 7px;
}

.home-icon-password {
    background: url('../imgs/pass_icon.png');
    width: 24px;
    height: 30px;
    margin-right: 7px;
}

.home-icon-pin {
    background: url('../imgs/pin_icon.png');
    width: 30px;
    height: 29px;
    margin-right: 7px;
}

.home-icon-background {
    background: url('../imgs/background_icon.png');
    width: 30px;
    height: 30px;
    margin-right: 7px;
}

@media (max-width: 1200px) {
    .dashboard-settings-email { grid-column: span 6; }
    .dashboard-settings-form { grid-column: span 6; }
}

@media (max-width: 992px) {
    .dashboard-settings-email { grid-column: span 12; }
    .dashboard-settings-form { grid-column: span 12; }
    
    .background-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .settings-form-content {
        padding: 15px;
    }
    
    .btn-settings-submit,
    .btn-settings-danger {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .background-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .background-item {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .form-group label {
        font-size: 14px;
    }
    
    .settings-input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .background-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}