:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --background-color: #f8f9fa;
    --text-color: #202124;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 500;
}

.main-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.idea-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.idea-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    margin-bottom: 1rem;
    font-size: 16px;
}

.idea-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(66,133,244,0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 24px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.journal-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timestamp {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.timestamp i {
    margin-right: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
}

.loading-spinner {
    display: none;
    text-align: center;
    margin: 1rem 0;
}

.suggestions-container {
    display: none;
    margin-top: 1rem;
}

.suggestion-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.suggestion-card:hover {
    transform: translateY(-2px);
}

.selected {
    border: 2px solid var(--primary-color);
}

.story-card,
.character-card {
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.story-card:hover,
.character-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.story-preview,
.character-preview {
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.modal-dialog {
    max-width: 800px;
}

.modal-content {
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.story-content,
.character-content {
    line-height: 1.8;
    white-space: pre-wrap;
}

.modal-title {
    color: var(--primary-color);
    font-weight: 500;
}

.selected-idea-preview {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-preview {
    background: var(--background-color);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    white-space: pre-wrap;
}

#saveToJournals {
    margin-top: 1rem;
}

.success-message {
    color: var(--secondary-color);
    margin-top: 1rem;
    font-weight: 500;
}

.idea-group {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.idea-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.character-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.character-card {
    margin-bottom: 0;
    height: 100%;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    height: 100%;
}

.character-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.production-pack {
    transition: transform 0.2s ease-in-out;
    border-radius: 8px;
    overflow: hidden;
}

.production-pack:hover {
    transform: translateY(-2px);
}

.production-pack .card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
}

.role-card {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.2s ease-in-out;
}

.role-card.filled {
    opacity: 0.7;
    background: #f8f9fa;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    background: var(--primary-color);
    color: white;
}

.role-card.filled .status-badge {
    background: #6c757d;
}

.character-detail-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 100%;
}

.plot-points {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.plot-points ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.modal-xl {
    max-width: 1140px;
}

.production-pack {
    cursor: pointer;
}

.product-card {
    transition: transform 0.2s ease-in-out;
    border: 1px solid #eee;
}

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

.price {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
}

.list-group-item-action:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background-color: var(--background-color);
    font-weight: 500;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Video Library Styles */
.video-card {
    transition: transform 0.2s ease-in-out;
    border: 1px solid #eee;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-placeholder {
    background-color: #f8f9fa;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: calc(0.375rem - 1px);
    border-top-right-radius: calc(0.375rem - 1px);
}

.placeholder-content {
    text-align: center;
    color: #6c757d;
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.duration {
    color: #6c757d;
    font-size: 0.875rem;
}

.video-card .card-title {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.video-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
}


/* Validation Page Styles */
.deposit-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.25);
}

.alert-info {
    background-color: rgba(66, 133, 244, 0.1);
    border-color: rgba(66, 133, 244, 0.2);
    color: var(--text-color);
}

.alert-info i {
    color: var(--primary-color);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.btn-outline-primary {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.deposit-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Add the following styles for document handling */
.document-list {
    margin-top: 1rem;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.document-item i {
    color: var(--primary-color);
}

.document-item span {
    margin-left: 0.5rem;
    flex-grow: 1;
}

.document-upload,
.character-document-upload {
    display: none;
}

.documents-section {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}