/*@import "bootstrap/dist/css/bootstrap.min.css";*/

body {
    background: linear-gradient(180deg, #0f172a, #020617);
    font-family: 'Segoe UI', sans-serif;
    color: white;
    overflow-x: hidden;
}
.custom-navbar {
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
    padding: 12px 20px;
}

.brand-text {
    font-weight: 700;
    font-size: 22px;
    background: linear-gradient(45deg, #ff4fd8, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: #cbd5f5 !important;
    font-weight: 500;
    margin-right: 20px;
    transition: 0.3s;
}

.nav-link:hover {
    color: white !important;
}

.coffee-link {
    color: #f59e0b !important;
    font-weight: 600;
}

.signin-btn {
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
}

.signin-btn:hover {
    opacity: 0.9;
}

.prompt-card {
    border-radius: 12px;
    padding: 20px;
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.prompt-card:hover {
    transform: translateY(-3px);
}

.copy-btn {
    border-radius: 20px;
}



h6 {
    color: white;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(45deg, #ff4fd8, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-box {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    color: white;
}

.search-box::placeholder {
    color: #94a3b8;
}

.filter-select {
    background: #1e293b;
    border: 1px solid #334155;
    color: white;
}

.card-custom {
    background: #0f172a;
    /* border-radius: 15px; */
    /* border: 1px solid #1e293b; */
    /* transition: 0.3s; */
    /* overflow: hidden; */
    color: white;

    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
}

.card-custom:hover {
    transform: translateY(-5px);
    border-color: #9333ea;
}

/*.card-custom img {
    height: 220px;
    object-fit: cover;
}
*/

.badge-tag {
    background: #1e293b;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12px;
    margin-right: 5px;
    color: white;
}

.btn-create {
    background: #7c3aed;
    border: none;
    color: white;
}

.btn-create:hover {
    background: #6d28d9;
}

.card-footer-icons i {
    margin-left: 10px;
    cursor: pointer;
    color: #94a3b8;
}

.card-footer-icons i:hover {
    color: white;
}

.image-likes {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.image-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: white;
}
h5 {
    color: white;
}



.icon-btn {
    background: transparent;
    border: 1px solid #334155;
    color: #94a3b8;
    width: 38px;
    height: 34px;
    border-radius: 8px;
    margin-left: 6px;
    transition: 0.3s;
}

.icon-btn:hover {
    border-color: #7c3aed;
    color: white;
}


.image-wrapper {
    width: 30vh;
    height: 40vh;
    position: relative;
    overflow: hidden;  /* You can adjust */
}
.image-wrapper img {
       /*width: 100%;
    height: 100%;*/
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: fill;
}

/* Corner icons container */
.corner-icons {
    position: absolute;
    bottom: 10px;
    left: 10px;

    display: flex;
    gap: 8px;

    opacity: 0;
    transition: 0.3s ease;
}

/* Show icons on hover */
.image-wrapper:hover .corner-icons {
    opacity: 1;
}

/* Icon style */
.corner-icon {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 13px;
    transition: 0.3s;
}

.corner-icon:hover {
    background: #7c3aed;
}
.dark-card {
    background-color: #1e1e1e;
    color: #fff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}



.btn-theme {
    background: linear-gradient(45deg,#8b5cf6,#ec4899);
    border: none;
    color: white;
}

/* Dark card background */
.dark-card {
    background-color: #1f1f1f;
    color: #fff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Form labels and inputs */
.form-label {
    font-weight: 500;
    color: #ccc;
}









/* Inputs */
.form-control, .form-select {
    background-color: #2a2a2a;
    color: #fff;
    border: 1px solid #444;
    border-radius: 8px;
}

.form-control:focus, .form-select:focus {
    border-color: #5c9dff;
    box-shadow: 0 0 0 0.2rem rgba(92, 157, 255, 0.25);
}

/* Large inputs for PixPrompt style */
.form-control-lg, .form-select-lg {
    padding: 1rem;
    font-size: 1rem;
}
/* Buttons */
.btn-theme {
    background-color: #5c9dff;
    color: #fff;
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1rem;
}
.btn-theme:hover {
    background-color: #4a8ae0;
    color: #fff;
}
/* Outline add category button */
.btn-outline-primary {
    color: #5c9dff;
    border-color: #5c9dff;
}

.btn-outline-primary:hover {
    background-color: #5c9dff;
    color: #fff;
}
/* Image upload box */
.image-upload {
    border: 2px dashed #555;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.image-upload:hover {
    background-color: #2e2e2e;
    border-color: #5c9dff;
}

.image-upload input[type="file"] {
    display: none;
}

.image-upload p {
    margin: 0;
}
/* Modal */
.modal-content.dark-card {
    background-color: #1e1e1e;
    color: #fff;
    border-radius: 12px;
}



/* Make cards equal height */
.card-custom {
    display: flex;
    flex-direction: column;
}



/* Make body stretch equally */
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Make text area fixed height */
.card-body p {
    min-height: 60px;
}

/* Push bottom buttons down */
.card-body .d-flex {
    margin-top: auto;
}

.favorite-btn i {
    transition: 0.3s ease;
}

.favorite-btn.active i {
    color: red;
}
.prompt-page {
    background: #0f172a;
    color: #fff;
}

.image-side {
    position: relative;
    background: #111827;
}

.main-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.bottom-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 14px;
    display: flex;
    gap: 20px;
}

.detail-side {
    padding: 40px;
    background: #111827;
}

.title {
    font-weight: 700;
    margin-bottom: 10px;
}

.creator {
    color: #9ca3af;
    margin-bottom: 20px;
}

.info-box {
    background: #1e293b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tags .tag {
    background: #334155;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 6px;
}

.prompt-box {
    background: #1e293b;
    padding: 15px;
    border-radius: 8px;
    white-space: pre-line;
    margin-bottom: 20px;
    font-size: 14px;
}

.action-bar {
    display: flex;
    gap: 10px;
}

.create-btn {
    background: linear-gradient(90deg,#9333ea,#ec4899);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
}

.icon-btn {
    background: #1f2937;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    color: white;
}
.related-card {
    width: 100%;
    height: 220px;   /* fixed height */
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.related-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* very important */
    transition: 0.3s ease;
}

.related-card:hover img {
    transform: scale(1.05);
}

.related-title {
    font-size: 14px;
    margin-top: 8px;
    color: #fff;
}
