Nagesh Muralidhar
Initial commit of PodCraft application
fd52f31
.home-container {
display: flex;
flex-direction: column;
height: calc(100vh - 11rem);
gap: 1rem;
padding: 2rem;
max-width: 1200px;
margin: 3vh auto 0 auto;
}
.home-hero-content h1 {
background: linear-gradient(0.25turn, #fff, #000);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.hero-content h1 {
margin: 1rem 0;
}
.top-row {
display: flex;
gap: 2rem;
height: 75%;
}
.column {
flex: 1;
min-width: 0;
z-index: 1;
}
.content-card {
backdrop-filter: blur(8rem);
border-radius: 12px;
padding: 0.5rem 1.5rem;
height: calc(100% - 1rem);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 50%, #080808 75%, #000000 100%);
background: transparent;
}
.content-card:hover {
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.content-card h3 {
font-size: 1.5rem;
margin: 1rem 0;
font-weight: 700;
background: linear-gradient(0.25turn, #fff, #000);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-align: center;
}
.placeholder-content {
display: flex;
justify-content: center;
align-items: center;
height: calc(100% - 8rem);
border: 2px dashed rgba(99, 102, 241, 0.2);
border-radius: 8px;
font-size: 1.25rem;
padding: 1rem;
flex-direction: column;
}
span.info-icon {
color: #9093F1;
margin-right: 20px;
display: block;
width: 100%;
font-size: 4rem;
text-align: center;
}
.placeholder-content p {
font-size: 2rem;
text-align: center;
background: linear-gradient(0.25turn, #444, #fff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-weight: 400;
margin: 4rem 3rem;
}
.bottom-row {
height: 10%;
display: flex;
align-items: center;
}
.prompt-container {
width: 100%;
padding: 1rem;
background: rgba(99, 102, 241, 0.05);
backdrop-filter: blur(8px);
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.prompt-form {
display: flex;
gap: 1rem;
width: 100%;
}
.prompt-input {
flex: 1;
padding: 1rem;
border: 1px solid rgba(255, 255, 255, 0.48);
border-radius: 8px;
background: rgba(255, 255, 255, 0.05);
color: inherit;
font-size: 1rem;
transition: all 0.3s ease;
}
.prompt-input:focus {
outline: none;
background: rgba(255, 255, 255, 0.1);
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}
.prompt-input:disabled {
opacity: 0.6;
cursor: not-allowed;
background: rgba(255, 255, 255, 0.02);
}
.prompt-submit {
background: #6366f1;
border: none;
border-radius: 8px;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
}
.prompt-submit:disabled {
background: #4a4b63;
cursor: not-allowed;
transform: none;
opacity: 0.6;
}
.prompt-submit:disabled:hover {
background: #4a4b63;
transform: none;
box-shadow: none;
}
.prompt-submit:hover {
background: #4f46e5;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.prompt-submit svg {
font-size: 1.5rem;
color: white;
}
.prompt-submit:disabled svg {
opacity: 0.6;
}
/* Light theme adjustments */
.light .content-card {
background: rgba(99, 102, 241, 0.02);
border-color: rgba(0, 0, 0, 0.1);
}
.light .content-card:hover {
border-color: rgba(0, 0, 0, 0.2);
}
.light .placeholder-content {
border-color: rgba(99, 102, 241, 0.2);
}
.light .placeholder-content p {
color: rgba(0, 0, 0, 0.6);
}
.light .prompt-container {
background: rgba(99, 102, 241, 0.02);
border-color: rgba(0, 0, 0, 0.1);
}
.light .prompt-input {
background: rgba(0, 0, 0, 0.05);
}
.light .prompt-input:focus {
background: rgba(0, 0, 0, 0.08);
}
/* Responsive adjustments */
@media (max-width: 768px) {
.top-row {
flex-direction: column;
}
.column {
height: 50%;
}
}
.workflows-redirect {
display: flex;
justify-content: flex-end;
margin-top: 0.5rem;
}
.workflows-button {
background: transparent;
color: #6366f1;
border: 1px solid #6366f1;
border-radius: 6px;
padding: 0.5rem 1rem;
font-size: 0.85rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 0.5rem;
backdrop-filter: blur(8px);
}
.workflows-button:hover {
background: rgba(99, 102, 241, 0.1);
transform: translateY(-1px);
}
.workflows-button:active {
transform: translateY(0);
}
/* Light theme adjustments */
.light .workflows-button {
background: transparent;
color: #6366f1;
border-color: #6366f1;
}
.audio-content {
display: flex;
flex-direction: column;
height: calc(100% - 4rem);
gap: 1rem;
}
.audio-row {
flex: 0;
background: rgba(99, 102, 241, 0.05);
border-radius: 12px;
padding: 1.1rem 1.5rem;
display: flex;
flex-direction: column;
gap: 1rem;
align-items: stretch;
justify-content: flex-start;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.row-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.row-title {
display: flex;
align-items: center;
gap: 0.75rem;
}
.row-title h4 {
margin: 0;
font-size: 1rem;
font-weight: 600;
background: linear-gradient(0.25turn, #fff, #999);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.row-icon {
font-size: 1.4rem;
color: #6366f1;
opacity: 0.9;
transition: all 0.3s ease;
}
.audio-row:hover .row-icon {
transform: scale(1.1);
opacity: 1;
filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}
/* Light theme adjustments */
.light .row-title h4 {
background: linear-gradient(0.25turn, #333, #000);
-webkit-background-clip: text;
}
.light .row-icon {
color: #4f46e5;
}
/* Custom Dropdown Styles */
.custom-dropdown {
position: relative;
width: 100%;
}
.dropdown-header {
padding: 0.75rem 1rem;
border-radius: 8px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #fff;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
justify-content: space-between;
align-items: center;
}
.dropdown-header:hover {
border-color: rgba(99, 102, 241, 0.5);
background: rgba(0, 0, 0, 0.3);
}
.dropdown-header.open {
border-color: #6366f1;
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
.chevron {
transition: transform 0.3s ease;
color: #6366f1;
}
.chevron.open {
transform: rotate(180deg);
}
.dropdown-options {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: rgba(17, 17, 17, 0.95);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 0.5rem 0;
margin-top: 0.5rem;
max-height: 300px;
overflow-y: auto;
z-index: 10;
animation: dropdownFade 0.2s ease;
scrollbar-width: thin;
scrollbar-color: rgba(99, 102, 241, 0.3) rgba(255, 255, 255, 0.05);
}
.dropdown-options::-webkit-scrollbar {
width: 6px;
}
.dropdown-options::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 3px;
}
.dropdown-options::-webkit-scrollbar-thumb {
background: rgba(99, 102, 241, 0.3);
border-radius: 3px;
transition: background 0.3s ease;
}
.dropdown-options::-webkit-scrollbar-thumb:hover {
background: rgba(99, 102, 241, 0.5);
}
.dropdown-option {
padding: 0.75rem 1rem;
color: #fff;
cursor: pointer;
transition: all 0.2s ease;
}
.dropdown-option:hover {
background: rgba(99, 102, 241, 0.2);
color: #6366f1;
}
@keyframes dropdownFade {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Light theme adjustments */
.light .dropdown-header {
background: rgba(0, 0, 0, 0.05);
border-color: rgba(0, 0, 0, 0.1);
color: #000;
}
.light .dropdown-header:hover {
background: rgba(0, 0, 0, 0.08);
}
.light .dropdown-options {
background: rgba(255, 255, 255, 0.95);
border-color: rgba(0, 0, 0, 0.1);
scrollbar-color: rgba(99, 102, 241, 0.3) rgba(0, 0, 0, 0.05);
}
.light .dropdown-options::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.05);
}
.light .dropdown-options::-webkit-scrollbar-thumb {
background: rgba(99, 102, 241, 0.3);
}
.light .dropdown-options::-webkit-scrollbar-thumb:hover {
background: rgba(99, 102, 241, 0.5);
}
.light .dropdown-option {
color: #000;
}
.light .dropdown-option:hover {
background: rgba(99, 102, 241, 0.1);
}
/* Voice Selector Styles */
.voice-selector {
display: flex;
gap: 1rem;
width: 100%;
}
.voice-option {
flex: 1;
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
}
.voice-option:hover {
background: rgba(99, 102, 241, 0.1);
transform: translateY(-2px);
}
.voice-option.selected {
border-color: #6366f1;
background: rgba(99, 102, 241, 0.15);
}
.voice-icon {
font-size: 1.5rem;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(99, 102, 241, 0.1);
border-radius: 50%;
}
.voice-details {
display: flex;
flex-direction: column;
}
.voice-details span {
font-weight: 500;
color: #fff;
}
.voice-details small {
color: rgba(255, 255, 255, 0.6);
font-size: 0.8rem;
}
/* Podcast Player Styles */
.podcast-player {
width: 100%;
}
.player-controls {
display: flex;
align-items: center;
gap: 1rem;
background: rgba(0, 0, 0, 0.2);
padding: 1rem;
border-radius: 12px;
position: relative;
overflow: hidden;
}
.player-controls.locked {
opacity: 0.7;
cursor: not-allowed;
}
.player-controls.locked::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(2px);
z-index: 2;
}
.lock-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 2rem;
color: rgba(255, 255, 255, 0.8);
z-index: 3;
transition: all 0.5s ease;
}
.player-controls.unlocking .lock-icon {
transform: translate(-50%, -50%) scale(0);
opacity: 0;
}
.player-controls.unlocking::before {
animation: unlockFade 0.5s ease forwards;
}
@keyframes unlockFade {
from {
opacity: 1;
}
to {
opacity: 0;
visibility: hidden;
}
}
/* Light theme adjustments */
.light .player-controls.locked::before {
background: rgba(255, 255, 255, 0.4);
}
.light .lock-icon {
color: rgba(0, 0, 0, 0.8);
}
.play-btn {
width: 48px;
height: 48px;
border-radius: 50%;
border: none;
background: #6366f1;
color: white;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.play-btn svg {
font-size: 1.2rem;
margin-left: 2px;
}
.play-btn:hover {
background: #4f46e5;
transform: scale(1.08);
box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}
.play-btn:active {
transform: scale(0.98);
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}
.player-progress {
flex: 1;
display: flex;
align-items: center;
padding: 0.5rem 0;
position: relative;
z-index: 3;
}
.progress-bar {
width: 100%;
height: 4px;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
position: relative;
cursor: pointer;
transition: height 0.2s ease;
padding: 12px 0;
margin: -12px 0;
}
.progress-bar:hover {
height: 6px;
}
.progress {
height: 100%;
background: #6366f1;
border-radius: 2px;
position: relative;
transition: all 0.1s ease;
pointer-events: none;
}
.progress::after {
content: '';
position: absolute;
right: -6px;
top: 50%;
transform: translateY(-50%);
width: 12px;
height: 12px;
background: #fff;
border-radius: 50%;
box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
opacity: 0;
transition: opacity 0.2s ease;
pointer-events: none;
}
.progress-bar:hover .progress::after {
opacity: 1;
}
.time-stamps {
display: flex;
justify-content: space-between;
color: rgba(255, 255, 255, 0.6);
font-size: 0.8rem;
}
.volume-control {
color: rgba(255, 255, 255, 0.8);
font-size: 1.2rem;
cursor: pointer;
transition: color 0.3s ease;
}
.volume-control:hover {
color: #6366f1;
}
/* Light theme adjustments */
.light .player-controls {
background: rgba(0, 0, 0, 0.05);
}
.light .time-stamps {
color: rgba(0, 0, 0, 0.6);
}
.light .volume-control {
color: rgba(0, 0, 0, 0.8);
}
.light .progress-bar {
background: rgba(0, 0, 0, 0.1);
}
.light .progress {
background: #6366f1;
}
.light .progress::after {
background: #6366f1;
box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}
/* Voice Dropdowns */
.voice-dropdowns {
display: flex;
gap: 1rem;
width: 100%;
}
.voice-dropdown-container {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.voice-type {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem;
border-radius: 8px;
background: rgba(0, 0, 0, 0.2);
margin-bottom: 0.25rem;
}
.voice-type span {
font-weight: 500;
font-size: 0.9rem;
color: #fff;
}
.voice-icon {
font-size: 1.2rem;
transition: all 0.3s ease;
}
.voice-icon.believer {
color: #ffd700;
}
.voice-icon.skeptic {
color: #ff4444;
}
.voice-dropdown-container:hover .voice-icon {
transform: scale(1.1);
filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}
/* Light theme adjustments */
.light .voice-type {
background: rgba(0, 0, 0, 0.05);
}
.light .voice-type span {
color: #000;
}
.dropdown-option.disabled {
opacity: 0.5;
cursor: not-allowed;
background: rgba(0, 0, 0, 0.2);
}
.dropdown-option.disabled:hover {
background: rgba(0, 0, 0, 0.2);
color: inherit;
}
.voice-option-content {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.voice-option-content span {
font-weight: 500;
}
.voice-option-content small {
color: rgba(255, 255, 255, 0.6);
font-size: 0.75rem;
}
/* Light theme adjustments */
.light .dropdown-option.disabled {
background: rgba(0, 0, 0, 0.05);
}
.light .voice-option-content small {
color: rgba(0, 0, 0, 0.6);
}
.insights-container {
height: calc(100% - 5rem);
overflow-y: auto;
padding-right: 0.5rem;
position: relative;
}
.insights-container::-webkit-scrollbar {
width: 6px;
}
.insights-container::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
}
.insights-container::-webkit-scrollbar-thumb {
background: rgba(99, 102, 241, 0.3);
border-radius: 3px;
}
.insights-container::-webkit-scrollbar-thumb:hover {
background: rgba(99, 102, 241, 0.5);
}
.insights-content {
display: flex;
flex-direction: column;
gap: 1.5rem;
padding: 0.5rem;
}
.research-section {
background: rgba(99, 102, 241, 0.05);
border-radius: 8px;
padding: 1rem;
border: 1px solid rgba(99, 102, 241, 0.1);
}
.research-section h4 {
margin: 0 0 1rem 0;
font-size: 0.9rem;
color: #6366f1;
display: flex;
align-items: center;
gap: 0.5rem;
}
.research-steps {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.research-step {
display: flex;
gap: 0.75rem;
align-items: flex-start;
font-size: 0.9rem;
line-height: 1.4;
animation: fadeIn 0.3s ease;
}
.step-number {
background: rgba(99, 102, 241, 0.1);
color: #6366f1;
width: 24px;
height: 24px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
font-weight: 600;
flex-shrink: 0;
}
.agent-response {
background: rgba(99, 102, 241, 0.05);
border-radius: 8px;
padding: 1rem;
animation: fadeIn 0.3s ease;
}
.agent-response.believer {
border: 1px solid rgba(34, 197, 94, 0.2);
}
.agent-response.skeptic {
border: 1px solid rgba(239, 68, 68, 0.2);
}
.agent-header {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.75rem;
}
.agent-header h4 {
margin: 0;
font-size: 0.9rem;
}
.agent-icon {
font-size: 1.1rem;
}
.believer .agent-icon {
color: rgb(34, 197, 94);
}
.skeptic .agent-icon {
color: rgb(239, 68, 68);
}
.agent-response p {
margin: 0;
font-size: 0.9rem;
line-height: 1.6;
color: rgba(255, 255, 255, 0.9);
}
.generating-indicator {
position: absolute;
bottom: 0px;
right: 15%;
transform: translateX(-50%);
background: rgba(99, 102, 241, 0.1);
backdrop-filter: blur(4px);
padding: 0.5rem 1rem;
border-radius: 20px;
border: 1px solid rgba(99, 102, 241, 0.2);
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
/* width: 90px; */
}
.generating-text {
margin: 0;
font-size: 0.9rem;
color: #6366f1;
font-weight: 500;
}
.loading-dots {
display: flex;
gap: 0.5rem;
align-items: center;
justify-content: center;
}
.loading-dots span {
width: 8px;
height: 8px;
background: #6366f1;
border-radius: 50%;
animation: bounce 1.4s infinite ease-in-out;
}
.loading-dots span:nth-child(1) {
animation-delay: -0.32s;
}
.loading-dots span:nth-child(2) {
animation-delay: -0.16s;
}
@keyframes bounce {
0%,
80%,
100% {
transform: scale(0);
}
40% {
transform: scale(1.0);
}
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Light theme adjustments */
.light .insights-container::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.05);
}
.light .insights-container::-webkit-scrollbar-thumb {
background: rgba(99, 102, 241, 0.2);
}
.light .insights-container::-webkit-scrollbar-thumb:hover {
background: rgba(99, 102, 241, 0.4);
}
.light .research-section {
background: rgba(99, 102, 241, 0.02);
}
.light .agent-response {
background: rgba(99, 102, 241, 0.02);
}
.light .agent-response p {
color: rgba(0, 0, 0, 0.8);
}
.light .step-number {
background: rgba(99, 102, 241, 0.1);
}
.light .generating-indicator {
background: rgba(99, 102, 241, 0.05);
}
.light .generating-text {
color: #4f46e5;
}
.success-message {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
padding: 1rem;
margin: 1rem 0;
background: rgba(34, 197, 94, 0.1);
border-radius: 8px;
border: 1px solid rgba(34, 197, 94, 0.2);
animation: slideIn 0.5s ease-out;
}
.success-icon {
color: #22c55e;
font-size: 1.5rem;
animation: pulse 2s infinite;
}
.success-message p {
color: #22c55e;
font-weight: 500;
margin: 0;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
/* Light theme adjustments */
.light .success-message {
background: rgba(34, 197, 94, 0.05);
border-color: rgba(34, 197, 94, 0.15);
}
.debate-section {
display: flex;
flex-direction: column;
gap: 1rem;
margin-top: 1rem;
}
.debate-section .agent-response {
position: relative;
transition: all 0.3s ease;
}
.debate-section .agent-response:hover {
transform: translateY(-2px);
}
.debate-section .agent-response.skeptic {
margin-left: 0;
margin-right: 2rem;
border-left: 3px solid rgba(239, 68, 68, 0.5);
}
.home-container .insights-container {
height: 49vh;
}
.debate-section .agent-response.believer {
margin-left: 2rem;
margin-right: 0;
border-left: 3px solid rgba(34, 197, 94, 0.5);
}
.debate-section .agent-header h4 {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.85rem;
color: #6366f1;
}
.debate-section .agent-response p {
font-size: 0.9rem;
line-height: 1.6;
margin: 0.5rem 0 0 0;
}
/* Light theme adjustments */
.light .debate-section .agent-header h4 {
color: #4f46e5;
}
.light .home-hero-content h1 {
background: linear-gradient(0.25turn, #000, #fff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}