@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    padding-top: 80px; /* Add padding to account for fixed header */
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* New styles for fixed header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.redaction-container {
    display: flex;
    margin-top: 2rem;
    gap: 2rem;
}

.product-list {
    width: 25%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    height: calc(100vh - 230px); /* Adjusted for fixed header */
    overflow-y: auto;
}

.product-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    margin-right: 0.75rem;
    border-radius: 4px;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.main-content {
    width: 75%;
}

#productDetails {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.product-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.product-detail-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-right: 2rem;
}

.product-title {
    flex-grow: 1;
}

#productName {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.product-description {
    margin-bottom: 2rem;
}

.description-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

#productDescription {
    width: 100%;
    min-height: 120px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 0.95rem;
    resize: vertical;
}

.generate-section {
    background-color: #e8f4fd;
    border-radius: 8px;
    padding: 1.5rem;
}

.generate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3498db;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.generate-btn:hover {
    background-color: #2980b9;
}

.generate-btn i {
    margin-right: 0.5rem;
}

.hidden {
    display: none;
}

/* Wow Title Styles */
.wow-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.wow-title::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease-in-out;
}

.wow-title:hover::after {
    width: 100%;
}

.wow-title-text {
    background: linear-gradient(45deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.wow-title:hover .wow-title-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 180px); /* Adjusted for fixed header */
    padding: 2rem;
}

.login-form {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.login-logo {
    display: block;
    margin: 0 auto 2rem;
    max-width: 150px;
    height: auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.login-form .generate-btn {
    width: 100%;
    margin-top: 1rem;
}
