/* Phone Container Styles */
.phone-outer {
    position: relative;
    z-index: 10;
    width: 460px;
    height: 1050px;
    background: #111;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border: 8px solid #222;
    flex-shrink: 0;
}

/* Phone Hardware Elements */
.phone-notch {
    width: 150px;
    height: 30px;
    background: #111;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 5px;
}

.phone-camera {
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
    margin-right: 10px;
}

.phone-speaker {
    width: 50px;
    height: 5px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.home-indicator {
    width: 120px;
    height: 5px;
    background: #ddd;
    border-radius: 3px;
    margin: 10px auto;
}

/* Status Bar */
.status-bar {
    background: #f0f0f0;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 25px;
    animation: fadeIn 0.5s ease-out;
}

.status-time {
    font-weight: 500;
}

.status-icons {
    display: flex;
    gap: 5px;
}

/* App Header */
.app-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    animation: fadeIn 0.5s ease-out;
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.app-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-right: 15px;
}

.app-text {
    flex: 1;
}

.app-text h2 {
    font-size: 16px;
    margin: 0;
    color: #333;
}

.app-text p {
    font-size: 13px;
    margin: 0;
    color: #666;
}

/* App Content */
.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Phone Form Styles */
.phone-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.input-container {
    position: relative;
    animation: popIn 0.6s ease-out;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
    z-index: 20;
}

/* Country Dropdown */
.country-dropdown {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    cursor: pointer;
}

.selected-flag {
    display: flex;
    align-items: center;
    gap: 5px;
}

.flag-emoji {
    font-size: 18px;
    line-height: 1;
}

.dropdown-arrow {
    color: #666;
    font-size: 12px;
    transition: transform 0.3s;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    width: 200px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.dropdown-content.show {
    display: block;
    animation: popIn 0.3s ease-out;
}

.country-option {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.country-option:hover {
    background: #171717;
}

.country-name {
    font-size: 14px;
    color: rgb(65, 27, 231);
}

/* Phone Input */
.phone-input {
    width: 100%;
    padding: 15px 15px 15px 75px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.phone-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(94, 53, 177, 0.1);
}

/* Phone Button */
.phone-button {
    background: #222;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    animation: popIn 0.6s ease-out;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
    z-index: 10;
}

.phone-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.phone-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Status Messages */
.status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    display: none;
    text-align: center;
    font-size: 14px;
    animation: popIn 0.4s ease-out;
}

.status.success {
    background-color: rgba(0, 200, 83, 0.1);
    color: var(--success);
}

.status.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--error);
}