/* Base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f8fc;
    color: #333;
    line-height: 1.5;
}

#app {
    max-width: 650px;
    margin: 0 auto;
    padding: 15px;
}

/* Header styles */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2466f8; /* This will be configurable in admin panel */
    margin-bottom: 5px;
}

.header p {
    font-size: 16px;
    color: #666;
    margin-top: 0;
}

/* Image styling */
.img-view {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    height: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Feature box styling */
.features-box {
    background: linear-gradient(135deg, #2466f8, #3f84ff); /* This will be configurable */
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 15px rgba(36, 102, 248, 0.25);
}

.features-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.features-list {
    padding: 0;
    margin: 0;
}

.features-list li {
    list-style-type: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
}

.red {
    color: #4bff00;
    font-weight: 600;
}

/* Button styling */
.installation-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.button {
    padding: 18px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #2466f8, #3f84ff); /* This will be configurable */
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(36, 102, 248, 0.2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(36, 102, 248, 0.3);
}

.button-icon {
    font-size: 20px;
    margin-left: 10px;
}

.step-number {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 12px;
}

.button-text {
    flex-grow: 1;
    text-align: left;
    font-weight: 600;
}

/* Secondary buttons */
.secondary-button {
    background: linear-gradient(135deg, #5d6c89, #7b8aa4);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
    color: #666;
    font-size: 14px;
}

/* Custom dialog styling */
.swal2-popup {
    font-size: 1rem !important;
    border-radius: 15px !important;
    padding: 0 !important;
}

.swal2-title {
    font-size: 1.5rem !important;
    color: #333 !important;
    padding: 1.5rem 1.5rem 0.5rem !important;
}

.swal2-html-container {
    padding: 0 1.5rem 1.5rem !important;
}

.swal2-input {
    font-size: 1.1rem !important;
    border-radius: 10px !important;
    padding: 10px !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
}

.swal2-input:focus {
    border-color: #2466f8 !important; /* This will be configurable */
    box-shadow: 0 0 0 3px rgba(36, 102, 248, 0.1) !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, #2466f8, #3f84ff) !important; /* This will be configurable */
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
}

.swal2-cancel {
    background-color: #f3f4f6 !important;
    color: #5d6c89 !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
}

/* HIDE ALL SWAL2 ICONS AND LOADER */
.swal2-icon, 
.swal2-loader {
    display: none !important;
}

/* Status text */
.status-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.status-message {
    font-size: 15px;
    color: #5d6c89;
    text-align: center;
}

/* Progress bar styling */
.progress-container {
    width: 100%;
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #eaeef5;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2466f8, #3f84ff); /* This will be configurable */
    border-radius: 5px;
    transition: width 0.3s ease;
}

/* Loading text */
.loading-text {
    text-align: center;
    color: #5d6c89;
    font-size: 15px;
    margin-top: 10px;
}

/* Media queries */
@media (max-width: 600px) {
    #app {
        padding: 10px;
    }

    .features-box {
        padding: 15px;
    }

    .features-list li {
        font-size: 14px;
    }

    .button {
        padding: 15px;
        font-size: 15px;
    }
}