/* ISBN Barcode Generator Tool Styles */

.tool-card {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: none;
}

/* Header Gradient - Cool & Dope */
.header-gradient {
    background: linear-gradient(135deg, #1f1c2c 0%, #928dab 100%);
    color: white;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    padding: 2rem 1.5rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.4);
    transition: all 0.3s ease-in-out;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 43, 0.6);
}

/* Download Barcode Button */
.btn-download {
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.4);
    transition: all 0.3s ease-in-out;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 201, 255, 0.6);
}


/* Barcode styles */
.barcode-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 100%;
    position: relative;
}

.barcode-image {
    max-width: 100%;
    height: auto;
}

.isbn-prefix {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: center;
}

/* Form styles */
.btn-group-toggle {
    display: flex;
}

.btn-group-toggle .btn {
    flex: 1;
}

/* Results box */
.result-box {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #eee;
}

/* Glass card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .barcode-container {
        padding: 15px;
    }

    .btn-group-toggle {
        flex-direction: column;
    }

    .btn-group-toggle .btn {
        margin-bottom: 5px;
    }
}

#isbnBarcodeForm label {
    font-family: gilroy-bold, serif;
}
