/* General Layout */
.affiliate-link-checker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: transparent; 
}


/* Ensure elements stack correctly */
.affiliate-link-checker label,
.affiliate-link-checker input,
.affiliate-link-checker select,
.affiliate-link-checker button {
    width: 100%;
    max-width: 600px;
}

/* Labels */
label {
    font-weight: bold;
    display: block;
    margin: 10px 0 5px;
    color: white; 
}

/* Input Fields */
input, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white; /* Ensure fields have a white background */
    color: #333;
    font-size: 16px;
}

/* Button Styling */
#checkLink, #applyFix, #copyLink {
    width: 100%; /* Ensure button stays below the field */
    max-width: 400px;
    padding: 12px 15px;
    border: none;
    color: white !important; /* Always keep text white */
    background: radial-gradient(circle at center, #8400ad 19%, #58009b 72%) !important;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px; /* Ensure spacing from input field */
    font-size: 16px;
    text-align: center;
}

/* Button Hover Effect */
#checkLink:hover, #applyFix:hover, #copyLink:hover {
    background: radial-gradient(circle at center, #5c2d91 19%, #8400ad 72%) !important;
}

/* Feedback Messages */
#feedback {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
    display: none;
}

/* Success messages */
.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Error messages */
.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Copy Confirmation */
.copied {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

/* Fix Section */
#fixSection {
    display: none;
    background: transparent;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: left;
    color: #fff;
}

/* Fix Inputs */
.fix-input {
    width: 100%;
    padding: 5px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white; /* Ensure fix input fields are white */
}
