/* Mobile Phone Visualization Styles */
.phone-container {
    position: relative;
    width: 280px;
    height: 560px;
    margin: 0 auto;
    border-radius: 36px;
    background-color: #111;
    padding: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 28px;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background-color: #111;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 10;
}

.phone-status-bar {
    position: relative;
    height: 40px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: 12px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.phone-time {
    font-weight: bold;
}

.phone-icons {
    display: flex;
    gap: 8px;
}

.phone-content {
    position: relative;
    height: calc(100% - 40px);
    background-color: #fff;
}

/* Dialer Screen Styles */
.dialer-screen {
    position: relative;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    color: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-number {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

.call-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.call-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(76, 175, 80, 0.6);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    }
}

.call-options {
    display: flex;
    gap: 25px;
}

.call-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.call-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.call-option i {
    font-size: 18px;
    margin-bottom: 4px;
}

.call-option span {
    font-size: 11px;
    font-weight: 500;
}

/* Phone QR Animation States */
.phone-container.calling .call-button {
    background: #f44336;
    animation: calling 1s infinite;
}

@keyframes calling {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.phone-container.calling .contact-avatar {
    animation: avatarPulse 1s infinite;
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* QR Scan Overlay Styles */
.qr-scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.qr-scan-frame {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

.qr-scan-corners {
    position: relative;
    width: 100%;
    height: 100%;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #4CAF50;
}

.corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.qr-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
    animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
    0% {
        top: 0;
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.qr-scan-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin: 0;
}
}

.phone-icons {
    display: flex;
    gap: 8px;
}

.phone-content {
    height: calc(100% - 40px);
    overflow: auto;
}

/* Browser Styles */
.browser-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.browser-toolbar {
    background-color: #f8f9fa;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.browser-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.browser-action {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-back {
    background-color: #ff605c;
}

.browser-refresh {
    background-color: #ffbd44;
}

.browser-forward {
    background-color: #00ca4e;
}

.browser-address-bar {
    background-color: #eee;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-content {
    padding: 15px;
    flex-grow: 1;
}

/* Message App Styles */
.message-app {
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.message-header {
    background-color: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.message-contact {
    font-weight: bold;
    font-size: 14px;
    margin-left: 10px;
}

.message-back {
    color: #4361ee;
    font-size: 12px;
}

.message-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-bubble {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 12px;
    position: relative;
}

.message-sent {
    background-color: #4361ee;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message-received {
    background-color: #e5e5ea;
    color: #000;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 9px;
    opacity: 0.7;
    margin-top: 5px;
    text-align: right;
}

.message-input {
    background-color: #fff;
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-input-field {
    background-color: #e5e5ea;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 12px;
    flex-grow: 1;
    color: #666;
}

.message-send {
    color: #4361ee;
    font-size: 14px;
}

/* WiFi Screen Styles */
.wifi-screen {
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.wifi-header {
    background-color: #fff;
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.wifi-title {
    font-weight: bold;
    font-size: 16px;
}

.wifi-content {
    flex-grow: 1;
    padding: 20px 15px;
}

.wifi-network {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.wifi-network-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wifi-network-name {
    font-weight: bold;
    font-size: 14px;
}

.wifi-signal {
    color: #4361ee;
}

.wifi-security {
    font-size: 12px;
    color: #666;
}

.wifi-connected {
    color: #2dc653;
    font-size: 12px;
    font-weight: bold;
}

/* Feature Split Layout */
.feature-split-layout {
    display: flex;
    gap: 20px;
}

.feature-form-column {
    flex: 1;
}

.feature-visualization-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991px) {
    .feature-split-layout {
        flex-direction: column;
    }
    
    .feature-visualization-column {
        display: none;
    }
}
/* PDF Viewer Screen Styles */
.pdf-viewer-screen {
    height: 100%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
}

.pdf-toolbar {
    background: #fff;
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-title {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

.pdf-actions {
    display: flex;
    gap: 8px;
}

.pdf-actions i {
    font-size: 12px;
    color: #6c757d;
    cursor: pointer;
}

.pdf-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.pdf-page {
    background: #fff;
    padding: 16px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pdf-text-line {
    height: 8px;
    background: #dee2e6;
    margin-bottom: 6px;
    border-radius: 2px;
}

.pdf-text-line.short {
    width: 60%;
}

.pdf-text-line.medium {
    width: 80%;
}

.pdf-footer {
    background: #fff;
    padding: 8px 12px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    font-size: 10px;
    color: #6c757d;
}

/* Image Viewer Screen Styles */
.image-viewer-screen {
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
}

.image-toolbar {
    background: rgba(0,0,0,0.8);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-title {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.image-actions {
    display: flex;
    gap: 8px;
}

.image-actions i {
    font-size: 12px;
    color: #fff;
    cursor: pointer;
}

.image-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

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

.image-placeholder i {
    margin-bottom: 8px;
}

.image-placeholder p {
    font-size: 10px;
    margin: 0;
}

.image-footer {
    background: rgba(0,0,0,0.8);
    padding: 8px 12px;
    text-align: center;
    font-size: 10px;
    color: #fff;
}
