/* Styles for Ini File Updater page */

body {
    background: linear-gradient(135deg, #f6f8fa, #e9ebf1);
}

.inifileupdater-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}


.subtitle {
    color: #555;
    margin-top: -10px;
}

.inputs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.input-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s;
}

.input-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.input-card label {
    font-weight: bold;
    margin-bottom: 8px;
}

.input-card textarea {
    flex: 1;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: vertical;
    min-height: 200px;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

button {
    padding: 10px 20px;

    border: none;
    border-radius: 5px;
    background-color: #4caf50;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}


button.secondary {
    background-color: #e0e0e0;
    color: #333;
}

button.secondary:hover {
    background-color: #d5d5d5;
}

.copy-btn {
    align-self: flex-end;
}

.result-card textarea[readonly] {
    background: #f7f7f7;
}

.action-section {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.home-link {
    padding: 10px 20px;
    border-radius: 5px;
    background: #6c757d;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

.home-link:hover {
    background: #5a636a;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    visibility: hidden;
    transition: all 0.7s cubic-bezier(0.57, -1.68, 0.57, 2.29);
    opacity: 0;
    z-index: 1000;
}

.popup-content {
    font-size: 18px;
}

.show-popup {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.hide-popup {
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}
