/* DrawWithMe Project Specific Styles */

/* DrawWithMe project specific styling */
.project-card:first-child .project-image {
    background: linear-gradient(135deg, #e1dddd 0%, #dfdbdb 80%, #e4e0e0 300%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* DrawWithMe container */
.drawwithme-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 250px;
    height: 90%;
    background: #ffffff;
    border-radius: 0px 0px 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Floating ballerina image */
.image-section .floating-image {
    width: 0%;
    height: 0%;
    opacity: 0;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    align-self: flex-end;
    animation: expandFromLeft 0.2s ease-out 0.6s forwards;
    transform-origin: left center;
    max-width: 100%;
    max-height: 100%;
}

@keyframes expandFromLeft {
    0% {
        width: 0%;
        height: 0%;
        opacity: 0;
    }
    100% {
        width: 70%;
        height: 90%;
        opacity: 1;
        max-width: 100%;
        max-height: 100%;
    }
}

/* Image section */
.image-section {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 4px;
    min-height: 0;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Input section */
.input-section {
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Avatar icon */
.avatar-icon {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: none;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
    border: none;
    outline: none;
}

/* Text input */
.text-input {
    flex: 1;
    height: 20px;
    background: #f4f4f4;
    border-radius: 16px;
    border: none;
}

/* Send button */
.send-button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f4f4f4;
    flex-shrink: 0;
}

/* Responsive styles for DrawWithMe */
@media (max-width: 768px) {
    .drawwithme-container {
        width: 80%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .image-section {
        padding: 6px;
    }
    
    .input-section {
        margin-left: 6px;
        margin-right: 6px;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .drawwithme-container {
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .image-section {
        padding: 4px;
    }
    
    .input-section {
        margin-left: 4px;
        margin-right: 4px;
        margin-bottom: 6px;
    }
} 