/* Custom CSS for PetSocial app */

/* General App Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Screen Container Styling */
.screen-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.device-container {
    position: relative;
    margin: 0 auto;
    width: 385px;
    height: 825px;
    border-radius: 45px;
    background-color: #000;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.device-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 35px;
    overflow: hidden;
}

/* App-Specific Components */
.pet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.story-bubble {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.story-bubble-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

/* Interactive Elements */
.interactive {
    cursor: pointer;
    transition: all 0.2s ease;
}

.interactive:active {
    transform: scale(0.95);
}

.btn-primary {
    background-color: #4f46e5;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #1f2937;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

/* Feed post styling */
.post-card {
    border-bottom: 1px solid #efefef;
    margin-bottom: 12px;
}

.post-actions i {
    transition: all 0.2s;
}

.post-actions i:hover {
    transform: scale(1.1);
}

/* Form elements */
input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Navigation active states */
.nav-item.active {
    color: #4f46e5;
}

.nav-item.active i {
    color: #4f46e5;
}

/* Loader animation */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #e5e7eb;
    border-bottom-color: #4f46e5;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}