body {
    background: #f4f6fa;
}

.card-custom {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    overflow: hidden;
}

.card-header-custom {
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    color: #ffffff;
    padding: 1.5rem;
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: none;
}

.form-floating {
    position: relative;
    margin-bottom: 1.75rem;
}

.form-floating .form-control {
    height: 3.6rem;
    padding: 1.2rem 0.75rem 0.3rem;
    border-radius: 10px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-floating label {
    position: absolute;
    top: 1.2rem;
    left: 0.75rem;
    color: #383b3d;
    background-color: white;
    padding: 0 0.3rem;
    transition: all 0.2s ease;
    pointer-events: none;
    font-size: 1rem;
}
.inputss {
    background: #3b82f640;
    padding: 13px;
    color: #1f2cbf;
    font-weight: 600;
    margin: 0px;
    border-radius: 21px;
}
.form-label {
    display: inline-block;
    margin-bottom: .5rem;
    color: #198754;
    font-weight: 600;
}

.form-floating .form-control:focus + label,
.form-floating .form-control:not(:placeholder-shown) + label {
    top: -0.7rem;
    left: 1.45rem;
    font-size: 1rem;
    color: #198754;
    background-color: #fff;
    font-weight: 600;
}

.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.25);
}

.btn-primary {
    background-color: #178530;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #125f32;
    transform: scale(1.03);
}

.btn-outline-secondary {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    background-color: #fff;
    color: #333;
    transition: background 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
}

.img-preview {
    max-width: 140px;
    border-radius: 10px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-text {
    font-size: 0.85rem;
}

#previewContainer {
    margin-top: 1rem;
}

.modal-content {
    border-radius: 15px;
}
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.btn {
    position: relative;
    padding: 5px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-width: 100px;
    justify-content: center;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: scale(1.2);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(17, 153, 142, 0.4);
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
}

.btn-success:active {
    transform: translateY(-1px);
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 65, 108, 0.4);
    background: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);
}

.btn-danger:active {
    transform: translateY(-1px);
}

/* Outlined Variants */
.btn-outline-primary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-outline-success {
    background: transparent;
    color: #11998e;
    border: 2px solid #11998e;
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(17, 153, 142, 0.4);
}

.btn-outline-danger {
    background: transparent;
    color: #ff416c;
    border: 2px solid #ff416c;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 65, 108, 0.4);
}

/* Loading Effect */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s infinite linear;
    color: white;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

.section-title {
    color: white;
    font-size: 1.5rem;
    margin: -24px 0 22px;
    text-align: center;
    font-weight: 300;
}

/* Pulse animation for demonstration */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}
